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