1 | <?php |
||
7 | class CommandData |
||
8 | { |
||
9 | /** var AnnotationData */ |
||
10 | protected $annotationData; |
||
11 | /** var InputInterface */ |
||
12 | protected $input; |
||
13 | /** var OutputInterface */ |
||
14 | protected $output; |
||
15 | /** var boolean */ |
||
16 | protected $usesInputInterface; |
||
17 | /** var boolean */ |
||
18 | protected $usesOutputInterface; |
||
19 | /** var boolean */ |
||
20 | protected $includeOptionsInArgs; |
||
21 | |||
22 | public function __construct( |
||
36 | |||
37 | /** |
||
38 | * For internal use only; indicates that the function to be called |
||
39 | * should be passed an InputInterface &/or an OutputInterface. |
||
40 | * @param booean $usesInputInterface |
||
41 | * @param boolean $usesOutputInterface |
||
42 | * @return self |
||
43 | */ |
||
44 | public function setUseIOInterfaces($usesInputInterface, $usesOutputInterface) |
||
51 | |||
52 | /** |
||
53 | * For backwards-compatibility mode only: disable addition of |
||
54 | * options on the end of the arguments list. |
||
55 | */ |
||
56 | public function setIncludeOptionsInArgs($includeOptionsInArgs) |
||
60 | |||
61 | public function annotationData() |
||
65 | |||
66 | public function input() |
||
70 | |||
71 | public function output() |
||
75 | |||
76 | public function arguments() |
||
80 | |||
81 | public function options() |
||
85 | |||
86 | public function getArgsWithoutAppName() |
||
106 | |||
107 | public function getArgsAndOptions() |
||
116 | } |
||
117 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.