1 | <?php |
||
16 | class PhpNamespacePrompt implements PromptInterface |
||
17 | { |
||
18 | /** |
||
19 | * @var GitConfig |
||
20 | */ |
||
21 | private $gitConfig; |
||
22 | |||
23 | /** |
||
24 | * @var Inflector |
||
25 | */ |
||
26 | private $inflector; |
||
27 | |||
28 | 1 | public function __construct(GitConfig $gitConfig, Inflector $inflector) |
|
29 | { |
||
30 | 1 | $this->gitConfig = $gitConfig; |
|
31 | 1 | $this->inflector = $inflector; |
|
32 | 1 | } |
|
33 | |||
34 | /** |
||
35 | * @return GitConfig |
||
36 | */ |
||
37 | 1 | public function getGitConfig() |
|
41 | |||
42 | /** |
||
43 | * @return Inflector |
||
44 | */ |
||
45 | 1 | public function getInflector() |
|
49 | |||
50 | /** |
||
51 | * @return array |
||
52 | */ |
||
53 | 2 | public function getDefaults() |
|
67 | |||
68 | /** |
||
69 | * @param OutputInterface $output |
||
70 | * @param DialogHelper $dialog |
||
71 | * @return array |
||
72 | */ |
||
73 | 1 | public function getValues(OutputInterface $output, DialogHelper $dialog) |
|
100 | } |
||
101 | |||
103 |