|
@@ -20,10 +20,10 @@ class DoctrineEventSubscriber implements EventSubscriber
|
|
|
/**
|
|
|
* @param ContainerInterface $serviceContainer
|
|
|
*/
|
|
|
- public function __construct(ContainerInterface $serviceContainer)
|
|
|
+ public function __construct(ProducerService $producerService)
|
|
|
{
|
|
|
/* @var $this->producerService ProducerService */
|
|
|
- $this->producerService = $serviceContainer->get('workflow.producer_service');
|
|
|
+ $this->producerService = $producerService;
|
|
|
}
|
|
|
|
|
|
/**
|