Skip to content

Commit

Permalink
[Feature] Dependencies (#57)
Browse files Browse the repository at this point in the history
* Added Hydrator Service, Tags, Repository and basic configurations

* Added hydrator service, adapted files accordingly

* Added getHydratedDependenciesForElement to controller

* 156 Added remaining services and properties

* Apply php-cs-fixer changes

* 156 Code quality and format optimizations

* 156 Integrated DataExtractor service into hydrator

* 156 Readded baseline file after merging conflicts

* Make consistent and introduce events

* Update qodana baseline

* Remove space

* Add hydratortest

* Apply php-cs-fixer changes

* Rename result to collection

* Renaming

---------

Co-authored-by: mcop1 <[email protected]>
Co-authored-by: mattamon <[email protected]>
Co-authored-by: mattamon <[email protected]>
  • Loading branch information
4 people authored May 21, 2024
1 parent da91d99 commit 74183df
Show file tree
Hide file tree
Showing 22 changed files with 2,520 additions and 1,509 deletions.
21 changes: 21 additions & 0 deletions config/dependencies.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
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\Dependency\Controller\:
resource: '../src/Dependency/Controller'
public: true
tags: [ 'controller.service_arguments' ]

Pimcore\Bundle\StudioBackendBundle\Dependency\Repository\DependencyRepositoryInterface:
class: Pimcore\Bundle\StudioBackendBundle\Dependency\Repository\DependencyRepository

Pimcore\Bundle\StudioBackendBundle\Dependency\Service\DependencyServiceInterface:
class: Pimcore\Bundle\StudioBackendBundle\Dependency\Service\DependencyService

Pimcore\Bundle\StudioBackendBundle\Dependency\Hydrator\DependencyHydratorInterface:
class: Pimcore\Bundle\StudioBackendBundle\Dependency\Hydrator\DependencyHydrator
Loading

0 comments on commit 74183df

Please sign in to comment.