public function getDecorated(): AbstractLanguageRoute
{ throw new DecorationPatternException(self::
class);
} #[Route(path: '/store-api/language', name: 'store-api.language', methods: ['GET', 'POST'], defaults: ['_entity' => 'language'])]
public function load(Request
$request, SalesChannelContext
$context, Criteria
$criteria): LanguageRouteResponse
{ $criteria->
addAssociation('translationCode'
);
return new LanguageRouteResponse( $this->repository->
search($criteria,
$context) );
}}