diff --git a/src/bundle/Resources/config/services.yml b/src/bundle/Resources/config/services.yml index 8f98139..c2d5d8f 100644 --- a/src/bundle/Resources/config/services.yml +++ b/src/bundle/Resources/config/services.yml @@ -177,7 +177,7 @@ services: - "@ezpublish.api.service.location" tags: [controller.service_arguments] - EzSystems\EzPlatformRest\Server\Controller\Language: + Ibexa\Bundle\Rest\Server\Controller\Language: autowire: true tags: [ controller.service_arguments ] diff --git a/src/bundle/Resources/config/value_object_visitors.yml b/src/bundle/Resources/config/value_object_visitors.yml index a7d7fce..c5b3e68 100644 --- a/src/bundle/Resources/config/value_object_visitors.yml +++ b/src/bundle/Resources/config/value_object_visitors.yml @@ -206,10 +206,10 @@ services: - { name: ezpublish_rest.output.value_object_visitor, type: Symfony\Component\HttpKernel\Exception\HttpException } # Language - EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor\LanguageList: + Ibexa\Rest\Server\Output\ValueObjectVisitor\LanguageList: parent: ezpublish_rest.output.value_object_visitor.base tags: - - { name: ezpublish_rest.output.value_object_visitor, type: EzSystems\EzPlatformRest\Server\Values\LanguageList } + - { name: ezpublish_rest.output.value_object_visitor, type: Ibexa\Rest\Server\Values\LanguageList } ezpublish_rest.output.value_object_visitor.Language: parent: ezpublish_rest.output.value_object_visitor.base diff --git a/src/lib/Server/Controller/Language.php b/src/lib/Server/Controller/Language.php index 678213d..cf170da 100644 --- a/src/lib/Server/Controller/Language.php +++ b/src/lib/Server/Controller/Language.php @@ -6,12 +6,12 @@ */ declare(strict_types=1); -namespace EzSystems\EzPlatformRest\Server\Controller; +namespace Ibexa\Bundle\Rest\Server\Controller; use eZ\Publish\API\Repository\LanguageService; use eZ\Publish\API\Repository\Values\Content\Language as ApiLanguage; use EzSystems\EzPlatformRest\Server\Controller as RestController; -use EzSystems\EzPlatformRest\Server\Values\LanguageList; +use Ibexa\Rest\Server\Values\LanguageList; use Traversable; final class Language extends RestController diff --git a/src/lib/Server/Output/ValueObjectVisitor/LanguageList.php b/src/lib/Server/Output/ValueObjectVisitor/LanguageList.php index 6c853f0..893153e 100644 --- a/src/lib/Server/Output/ValueObjectVisitor/LanguageList.php +++ b/src/lib/Server/Output/ValueObjectVisitor/LanguageList.php @@ -6,7 +6,7 @@ */ declare(strict_types=1); -namespace EzSystems\EzPlatformRest\Server\Output\ValueObjectVisitor; +namespace Ibexa\Rest\Server\Output\ValueObjectVisitor; use EzSystems\EzPlatformRest\Output\Generator; use EzSystems\EzPlatformRest\Output\ValueObjectVisitor; @@ -15,7 +15,7 @@ final class LanguageList extends ValueObjectVisitor { /** - * @param \EzSystems\EzPlatformRest\Server\Values\LanguageList $data + * @param \Ibexa\Rest\Server\Values\LanguageList $data */ public function visit(Visitor $visitor, Generator $generator, $data): void { diff --git a/src/lib/Server/Values/LanguageList.php b/src/lib/Server/Values/LanguageList.php index 1d990fa..8b794d9 100644 --- a/src/lib/Server/Values/LanguageList.php +++ b/src/lib/Server/Values/LanguageList.php @@ -6,7 +6,7 @@ */ declare(strict_types=1); -namespace EzSystems\EzPlatformRest\Server\Values; +namespace Ibexa\Rest\Server\Values; use EzSystems\EzPlatformRest\Value as RestValue;