1 | <?php |
||
20 | class MethodReflection extends \ReflectionMethod |
||
21 | { |
||
22 | /** |
||
23 | * @var DocCommentParser An instance of the doc comment parser |
||
24 | */ |
||
25 | protected $docCommentParser; |
||
26 | |||
27 | /** |
||
28 | * Returns the declaring class |
||
29 | * |
||
30 | * @return ClassReflection The declaring class |
||
31 | */ |
||
32 | public function getDeclaringClass() |
||
36 | |||
37 | /** |
||
38 | * Replacement for the original getParameters() method which makes sure |
||
39 | * that \TYPO3\CMS\Extbase\Reflection\ParameterReflection objects are returned instead of the |
||
40 | * original ReflectionParameter instances. |
||
41 | * |
||
42 | * @return ParameterReflection[] Parameter reflection objects of the parameters of this method |
||
43 | */ |
||
44 | public function getParameters() |
||
52 | |||
53 | /** |
||
54 | * Checks if the doc comment of this method is tagged with |
||
55 | * the specified tag |
||
56 | * |
||
57 | * @param string $tag Tag name to check for |
||
58 | * @return bool TRUE if such a tag has been defined, otherwise FALSE |
||
59 | */ |
||
60 | public function isTaggedWith($tag) |
||
65 | |||
66 | /** |
||
67 | * Returns an array of tags and their values |
||
68 | * |
||
69 | * @return array Tags and values |
||
70 | */ |
||
71 | public function getTagsValues() |
||
75 | |||
76 | /** |
||
77 | * Returns the values of the specified tag |
||
78 | * |
||
79 | * @param string $tag Tag name to check for |
||
80 | * @return array Values of the given tag |
||
81 | */ |
||
82 | public function getTagValues($tag) |
||
86 | |||
87 | /** |
||
88 | * Returns the description part of the doc comment |
||
89 | * |
||
90 | * @return string Doc comment description |
||
91 | */ |
||
92 | public function getDescription() |
||
96 | |||
97 | /** |
||
98 | * Returns an instance of the doc comment parser and |
||
99 | * runs the parse() method. |
||
100 | * |
||
101 | * @return DocCommentParser |
||
102 | */ |
||
103 | protected function getDocCommentParser() |
||
111 | } |
||
112 |