| @@ 44-54 (lines=11) @@ | ||
| 41 | * @param ConfigurationFactory $configurationFactory |
|
| 42 | * @param ApplicationConfigurationStorage $applicationConfigurationStorage |
|
| 43 | */ |
|
| 44 | public function __construct( |
|
| 45 | ResourceCollection $resourceCollection, |
|
| 46 | EventDispatcherInterface $eventDispatcher, |
|
| 47 | ConfigurationFactory $configurationFactory, |
|
| 48 | ApplicationConfigurationStorage $applicationConfigurationStorage |
|
| 49 | ) { |
|
| 50 | $this->resourceCollection = $resourceCollection; |
|
| 51 | $this->eventDispatcher = $eventDispatcher; |
|
| 52 | $this->configurationFactory = $configurationFactory; |
|
| 53 | $this->applicationConfiguration = $applicationConfigurationStorage->getConfiguration(); |
|
| 54 | } |
|
| 55 | ||
| 56 | /** |
|
| 57 | * @param Request $request |
|
| @@ 58-68 (lines=11) @@ | ||
| 55 | * @param ApplicationConfigurationStorage $applicationConfigurationStorage |
|
| 56 | * @param ConfigurationFactory $configurationFactory |
|
| 57 | */ |
|
| 58 | public function __construct( |
|
| 59 | ResourceCollection $resourceCollection, |
|
| 60 | EventDispatcherInterface $eventDispatcher, |
|
| 61 | ApplicationConfigurationStorage $applicationConfigurationStorage, |
|
| 62 | ConfigurationFactory $configurationFactory |
|
| 63 | ) { |
|
| 64 | $this->resourceCollection = $resourceCollection; |
|
| 65 | $this->eventDispatcher = $eventDispatcher; |
|
| 66 | $this->applicationConfiguration = $applicationConfigurationStorage->getConfiguration(); |
|
| 67 | $this->configurationFactory = $configurationFactory; |
|
| 68 | } |
|
| 69 | ||
| 70 | /** |
|
| 71 | * @param string $adminName |
|
| @@ 62-72 (lines=11) @@ | ||
| 59 | * @param ResourceCollection $resourceCollection |
|
| 60 | * @param ConfigurationFactory $configurationFactory |
|
| 61 | */ |
|
| 62 | public function __construct( |
|
| 63 | ApplicationConfigurationStorage $applicationConfigurationStorage, |
|
| 64 | EntityManagerInterface $entityManager, |
|
| 65 | ResourceCollection $resourceCollection, |
|
| 66 | ConfigurationFactory $configurationFactory |
|
| 67 | ) { |
|
| 68 | $this->applicationConfiguration = $applicationConfigurationStorage->getConfiguration(); |
|
| 69 | $this->entityManager = $entityManager; |
|
| 70 | $this->resourceCollection = $resourceCollection; |
|
| 71 | $this->configurationFactory = $configurationFactory; |
|
| 72 | } |
|
| 73 | ||
| 74 | public function enrichAdminConfiguration(ConfigurationEvent $event) |
|
| 75 | { |
|