1 | <?php |
||
24 | abstract class DbalDelegateCommand extends Command |
||
25 | { |
||
26 | /** |
||
27 | * @var \Symfony\Component\Console\Command\Command |
||
28 | */ |
||
29 | protected $command; |
||
30 | |||
31 | /** |
||
32 | * @return \Symfony\Component\Console\Command\Command |
||
33 | */ |
||
34 | abstract protected function createCommand(); |
||
35 | |||
36 | /** |
||
37 | * @param string $connectionName |
||
38 | * @return \Symfony\Component\Console\Command\Command |
||
39 | */ |
||
40 | protected function wrapCommand($connectionName) |
||
46 | |||
47 | /** |
||
48 | * {@inheritDoc} |
||
49 | */ |
||
50 | protected function configure() |
||
61 | |||
62 | /** |
||
63 | * {@inheritDoc} |
||
64 | */ |
||
65 | protected function execute(InputInterface $input, OutputInterface $output) |
||
69 | |||
70 | /** |
||
71 | * {@inheritDoc} |
||
72 | */ |
||
73 | protected function interact(InputInterface $input, OutputInterface $output) |
||
77 | |||
78 | /** |
||
79 | * {@inheritDoc} |
||
80 | */ |
||
81 | protected function initialize(InputInterface $input, OutputInterface $output) |
||
85 | } |
||
86 |