| @@ 28-35 (lines=8) @@ | ||
| 25 | /** @var ValidatorInterface */ |
|
| 26 | protected $validator; |
|
| 27 | ||
| 28 | public function initialize(InputInterface $input, OutputInterface $output) |
|
| 29 | { |
|
| 30 | parent::initialize($input, $output); |
|
| 31 | $container = $this->getContainer(); |
|
| 32 | $this->taskEventManager = $container->get('jarobe.task_runner.task_event_manager'); |
|
| 33 | $this->taskManager = $container->get('jarobe.task_runner.task_manager'); |
|
| 34 | $this->validator = $container->get('validator'); |
|
| 35 | } |
|
| 36 | ||
| 37 | /** |
|
| 38 | * @param TaskEventInterface $taskEvent |
|
| @@ 27-34 (lines=8) @@ | ||
| 24 | /** @var ValidatorInterface */ |
|
| 25 | private $validator; |
|
| 26 | ||
| 27 | public function initialize(InputInterface $input, OutputInterface $output) |
|
| 28 | { |
|
| 29 | parent::initialize($input, $output); |
|
| 30 | $container = $this->getContainer(); |
|
| 31 | $this->taskEventManager = $container->get('jarobe.task_runner.task_event_manager'); |
|
| 32 | $this->taskManager = $container->get('jarobe.task_runner.task_manager'); |
|
| 33 | $this->validator = $container->get('validator'); |
|
| 34 | } |
|
| 35 | ||
| 36 | /** |
|
| 37 | * @param InputInterface $input |
|