1 | <?php |
||
13 | class ConsoleApplicationConfigurator { |
||
14 | |||
15 | /** |
||
16 | * @var EventDispatcher |
||
17 | */ |
||
18 | private $eventDispatcher = null; |
||
19 | |||
20 | /** |
||
21 | * @var CommandsLoaderInterface |
||
22 | */ |
||
23 | private $commandsLoader = null; |
||
24 | |||
25 | /** |
||
26 | * @var ConsoleSingleStateConfiguratorInterface |
||
27 | */ |
||
28 | private $singleStateConfigurator = null; |
||
29 | |||
30 | |||
31 | /** |
||
32 | * @param EventDispatcher $eventDispatcher |
||
33 | * @return $this |
||
34 | */ |
||
35 | public function setEventDispatcher(EventDispatcher $eventDispatcher) { |
||
39 | |||
40 | |||
41 | /** |
||
42 | * @param CommandsLoaderInterface $commandsLoader |
||
43 | * @return $this |
||
44 | */ |
||
45 | public function setCommandsLoader(CommandsLoaderInterface $commandsLoader) { |
||
49 | |||
50 | |||
51 | /** |
||
52 | * @param ConsoleSingleStateConfiguratorInterface $singleStateConfigurator |
||
53 | * @return $this |
||
54 | */ |
||
55 | public function setSingleStateConfigurator(ConsoleSingleStateConfiguratorInterface $singleStateConfigurator) { |
||
59 | |||
60 | |||
61 | /** |
||
62 | * @param Application $app |
||
63 | * @return ConsoleApplication |
||
64 | */ |
||
65 | public function configure(Application $app) { |
||
86 | |||
87 | } |