Skip to content

Commit

Permalink
Switched to new Ibexa namespace for new classes
Browse files Browse the repository at this point in the history
  • Loading branch information
Steveb-p committed Nov 22, 2023
1 parent 79983af commit a48f66f
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/bundle/Resources/config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]

Expand Down
4 changes: 2 additions & 2 deletions src/bundle/Resources/config/value_object_visitors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/lib/Server/Controller/Language.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/lib/Server/Output/ValueObjectVisitor/LanguageList.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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
{
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Server/Values/LanguageList.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/
declare(strict_types=1);

namespace EzSystems\EzPlatformRest\Server\Values;
namespace Ibexa\Rest\Server\Values;

use EzSystems\EzPlatformRest\Value as RestValue;

Expand Down

0 comments on commit a48f66f

Please sign in to comment.