1 | <?php |
||
13 | class PredefinedHydratorGenerationCommand extends Command |
||
14 | { |
||
15 | /** |
||
16 | * @var HydratorFactory |
||
17 | */ |
||
18 | private $hydratorFactory; |
||
19 | |||
20 | /** |
||
21 | * @var string[] |
||
22 | */ |
||
23 | private $classes; |
||
24 | |||
25 | /** |
||
26 | * Constructor. |
||
27 | * |
||
28 | * @param HydratorFactory $hydratorFactory |
||
29 | * @param string[] $classes |
||
30 | * @param string $name |
||
31 | */ |
||
32 | public function __construct(HydratorFactory $hydratorFactory, array $classes, $name = null) |
||
39 | |||
40 | /** |
||
41 | * Configures the command. |
||
42 | */ |
||
43 | protected function configure() |
||
47 | |||
48 | /** |
||
49 | * Code executed when command invoked. |
||
50 | * |
||
51 | * @param InputInterface $input |
||
52 | * @param OutputInterface $output |
||
53 | */ |
||
54 | protected function execute(InputInterface $input, OutputInterface $output) |
||
62 | } |
||
63 |