-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add versions endpoints * Apply php-cs-fixer changes * added new controllers to the baseline * added test * Apply php-cs-fixer changes * sort swagger ui operations by methods * add changes from feedback --------- Co-authored-by: lukmzig <[email protected]>
- Loading branch information
Showing
64 changed files
with
4,799 additions
and
1,444 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
services: | ||
_defaults: | ||
autowire: true | ||
autoconfigure: true | ||
public: false | ||
|
||
# controllers are imported separately to make sure they're public | ||
# and have a tag that allows actions to type-hint services | ||
Pimcore\Bundle\StudioBackendBundle\Version\Controller\: | ||
resource: '../src/Version/Controller' | ||
public: true | ||
tags: [ 'controller.service_arguments' ] | ||
|
||
Pimcore\Bundle\StudioBackendBundle\Version\RepositoryInterface: | ||
class: Pimcore\Bundle\StudioBackendBundle\Version\Repository | ||
|
||
Pimcore\Bundle\StudioBackendBundle\Version\Hydrator\VersionHydratorInterface: | ||
class: Pimcore\Bundle\StudioBackendBundle\Version\Hydrator\VersionHydrator | ||
|
||
# Hydrators | ||
Pimcore\Bundle\StudioBackendBundle\Version\Hydrator\AssetVersionHydratorInterface: | ||
class: Pimcore\Bundle\StudioBackendBundle\Version\Hydrator\AssetVersionHydrator | ||
|
||
Pimcore\Bundle\StudioBackendBundle\Version\Hydrator\DataObjectVersionHydratorInterface: | ||
class: Pimcore\Bundle\StudioBackendBundle\Version\Hydrator\DataObjectVersionHydrator | ||
|
||
Pimcore\Bundle\StudioBackendBundle\Version\Hydrator\DocumentVersionHydratorInterface: | ||
class: Pimcore\Bundle\StudioBackendBundle\Version\Hydrator\DocumentVersionHydrator | ||
|
||
# Publishers | ||
Pimcore\Bundle\StudioBackendBundle\Version\Publisher\AssetVersionPublisherInterface: | ||
class: Pimcore\Bundle\StudioBackendBundle\Version\Publisher\AssetVersionPublisher | ||
|
||
Pimcore\Bundle\StudioBackendBundle\Version\Publisher\DataObjectVersionPublisherInterface: | ||
class: Pimcore\Bundle\StudioBackendBundle\Version\Publisher\DataObjectVersionPublisher | ||
|
||
Pimcore\Bundle\StudioBackendBundle\Version\Publisher\DocumentVersionPublisherInterface: | ||
class: Pimcore\Bundle\StudioBackendBundle\Version\Publisher\DocumentVersionPublisher | ||
|
||
# Services | ||
Pimcore\Bundle\StudioBackendBundle\Version\Hydrator\VersionHydratorServiceInterface: | ||
class: Pimcore\Bundle\StudioBackendBundle\Version\Hydrator\VersionHydratorService | ||
arguments: | ||
$versionHydratorLocator: '@listing.version_hydrator.service_locator' | ||
|
||
Pimcore\Bundle\StudioBackendBundle\Version\Publisher\VersionPublisherServiceInterface: | ||
class: Pimcore\Bundle\StudioBackendBundle\Version\Publisher\VersionPublisherService | ||
arguments: | ||
$versionPublisherLocator: '@version.element_publisher.service_locator' | ||
|
||
#Service Locator | ||
listing.version_hydrator.service_locator: | ||
class: Symfony\Component\DependencyInjection\ServiceLocator | ||
tags: [ 'container.service_locator' ] | ||
arguments: | ||
- Pimcore\Model\Asset: '@Pimcore\Bundle\StudioBackendBundle\Version\Hydrator\AssetVersionHydratorInterface' | ||
Pimcore\Model\DataObject: '@Pimcore\Bundle\StudioBackendBundle\Version\Hydrator\DataObjectVersionHydratorInterface' | ||
Pimcore\Model\Document: '@Pimcore\Bundle\StudioBackendBundle\Version\Hydrator\DocumentVersionHydratorInterface' | ||
|
||
version.element_publisher.service_locator: | ||
class: Symfony\Component\DependencyInjection\ServiceLocator | ||
tags: [ 'container.service_locator' ] | ||
arguments: | ||
- Pimcore\Model\Asset: '@Pimcore\Bundle\StudioBackendBundle\Version\Publisher\AssetVersionPublisherInterface' | ||
Pimcore\Model\DataObject: '@Pimcore\Bundle\StudioBackendBundle\Version\Publisher\DataObjectVersionPublisherInterface' | ||
Pimcore\Model\Document: '@Pimcore\Bundle\StudioBackendBundle\Version\Publisher\DocumentVersionPublisherInterface' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.