1 | <?php |
||
10 | class ReflectionFunction extends \ReflectionFunction |
||
11 | { |
||
12 | |||
13 | use ReflectionDocCommentTrait; |
||
14 | |||
15 | /** |
||
16 | * Get the body of the function. |
||
17 | * |
||
18 | * @return string |
||
19 | * @throws \Wingu\OctopusCore\Reflection\Exceptions\RuntimeException If the function is internal. |
||
20 | */ |
||
21 | 15 | public function getBody() |
|
39 | |||
40 | /** |
||
41 | * Gets a ReflectionExtension object for the extension which defined the function. |
||
42 | * |
||
43 | * @return \Wingu\OctopusCore\Reflection\ReflectionExtension |
||
44 | */ |
||
45 | 6 | public function getExtension() |
|
54 | |||
55 | /** |
||
56 | * Gets parameters. |
||
57 | * |
||
58 | * @return \Wingu\OctopusCore\Reflection\ReflectionParameter[] |
||
59 | */ |
||
60 | 6 | public function getParameters() |
|
70 | } |
||
71 |