| @@ 25-51 (lines=27) @@ | ||
| 22 | * | |
| 23 | * @codeCoverageIgnore | |
| 24 | */ | |
| 25 | class CacheWarmupCommand extends BaseCommand | |
| 26 | { | |
| 27 | public function __construct(AspectKernel $aspectKernel) | |
| 28 |     { | |
| 29 | parent::__construct(null); | |
| 30 | $this->aspectKernel = $aspectKernel; | |
| 31 | } | |
| 32 | ||
| 33 | /** | |
| 34 |      * {@inheritdoc} | |
| 35 | */ | |
| 36 | protected function configure() | |
| 37 |     { | |
| 38 | parent::configure(); | |
| 39 | $arguments = $this->getDefinition()->getArguments(); | |
| 40 | unset($arguments['loader']); | |
| 41 | $this->getDefinition()->setArguments($arguments); | |
| 42 | } | |
| 43 | ||
| 44 | /** | |
| 45 |      * {@inheritdoc} | |
| 46 | */ | |
| 47 | protected function loadAspectKernel(InputInterface $input, OutputInterface $output) | |
| 48 |     { | |
| 49 | /* noop */ | |
| 50 | } | |
| 51 | } | |
| 52 | ||
| @@ 25-51 (lines=27) @@ | ||
| 22 | * | |
| 23 | * @codeCoverageIgnore | |
| 24 | */ | |
| 25 | class DebugAdvisorCommand extends BaseCommand | |
| 26 | { | |
| 27 | public function __construct(AspectKernel $aspectKernel) | |
| 28 |     { | |
| 29 | parent::__construct(null); | |
| 30 | $this->aspectKernel = $aspectKernel; | |
| 31 | } | |
| 32 | ||
| 33 | /** | |
| 34 |      * {@inheritdoc} | |
| 35 | */ | |
| 36 | protected function configure() | |
| 37 |     { | |
| 38 | parent::configure(); | |
| 39 | $arguments = $this->getDefinition()->getArguments(); | |
| 40 | unset($arguments['loader']); | |
| 41 | $this->getDefinition()->setArguments($arguments); | |
| 42 | } | |
| 43 | ||
| 44 | /** | |
| 45 |      * {@inheritdoc} | |
| 46 | */ | |
| 47 | protected function loadAspectKernel(InputInterface $input, OutputInterface $output) | |
| 48 |     { | |
| 49 | /* noop */ | |
| 50 | } | |
| 51 | } | |
| 52 | ||
| @@ 25-51 (lines=27) @@ | ||
| 22 | * | |
| 23 | * @codeCoverageIgnore | |
| 24 | */ | |
| 25 | class DebugAspectCommand extends BaseCommand | |
| 26 | { | |
| 27 | public function __construct(AspectKernel $aspectKernel) | |
| 28 |     { | |
| 29 | parent::__construct(null); | |
| 30 | $this->aspectKernel = $aspectKernel; | |
| 31 | } | |
| 32 | ||
| 33 | /** | |
| 34 |      * {@inheritdoc} | |
| 35 | */ | |
| 36 | protected function configure() | |
| 37 |     { | |
| 38 | parent::configure(); | |
| 39 | $arguments = $this->getDefinition()->getArguments(); | |
| 40 | unset($arguments['loader']); | |
| 41 | $this->getDefinition()->setArguments($arguments); | |
| 42 | } | |
| 43 | ||
| 44 | /** | |
| 45 |      * {@inheritdoc} | |
| 46 | */ | |
| 47 | protected function loadAspectKernel(InputInterface $input, OutputInterface $output) | |
| 48 |     { | |
| 49 | /* noop */ | |
| 50 | } | |
| 51 | } | |
| 52 | ||