1 | <?php |
||
18 | class ParameterHelper implements HelperInterface |
||
19 | { |
||
20 | /** |
||
21 | * The helperset |
||
22 | * |
||
23 | * @var HelperSet |
||
24 | **/ |
||
25 | private $helperSet; |
||
26 | |||
27 | /** |
||
28 | * Ask for a parameter's value |
||
29 | * |
||
30 | * @param Structure $structure |
||
31 | * @param InputInterface $input |
||
32 | * @param OutputInterface $output |
||
33 | * @return array[string]string the parameter set as a key/value hash for use in a generator |
||
|
|||
34 | **/ |
||
35 | public function askParameters(Structure $structure, InputInterface $input, OutputInterface $output) |
||
47 | |||
48 | /** |
||
49 | * Ask for a parameter's value |
||
50 | * |
||
51 | * @param Parameter $parameter |
||
52 | * @param InputInterface $input |
||
53 | * @param OutputInterface $output |
||
54 | * @return array[string]string the parameter set as a key/value hash for use in a generator |
||
55 | **/ |
||
56 | public function askParameter(Parameter $parameter, InputInterface $input, OutputInterface $output) |
||
66 | |||
67 | /** |
||
68 | * Sets the helper set associated with this helper. |
||
69 | * |
||
70 | * @param HelperSet $helperSet A HelperSet instance |
||
71 | */ |
||
72 | public function setHelperSet(HelperSet $helperSet = null) |
||
76 | |||
77 | /** |
||
78 | * Gets the helper set associated with this helper. |
||
79 | * |
||
80 | * @return HelperSet A HelperSet instance |
||
81 | */ |
||
82 | public function getHelperSet() |
||
86 | |||
87 | /** |
||
88 | * Returns the canonical name of this helper. |
||
89 | * |
||
90 | * @return string The canonical name |
||
91 | */ |
||
92 | public function getName() |
||
96 | |||
97 | /** |
||
98 | * Get the question helper |
||
99 | * |
||
100 | * @return QuestionHelper |
||
101 | **/ |
||
102 | private function getQuestionHelper() |
||
106 | } |
||
107 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.