1 | <?php |
||
22 | class BaseAspectCommand extends Command |
||
23 | { |
||
24 | /** |
||
25 | * Stores an instance of aspect kernel |
||
26 | * |
||
27 | * @var null|AspectKernel |
||
28 | */ |
||
29 | protected $aspectKernel = null; |
||
30 | |||
31 | /** |
||
32 | * {@inheritDoc} |
||
33 | */ |
||
34 | protected function configure() |
||
38 | |||
39 | /** |
||
40 | * Loads aspect kernel. |
||
41 | * |
||
42 | * Aspect kernel is loaded by executing loader and fetching singleton instance. |
||
43 | * If your application environment initializes aspect kernel differently, you may |
||
44 | * modify this metod to get aspect kernel suitable to your needs. |
||
45 | * |
||
46 | * @param InputInterface $input |
||
47 | * @param OutputInterface $output |
||
48 | */ |
||
49 | protected function loadAspectKernel(InputInterface $input, OutputInterface $output) |
||
68 | } |
||
69 |