| 1 | <?php |
||
| 11 | final class ReflectionMethod extends \ReflectionMethod implements Reader |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var WeavedInterface |
||
| 15 | */ |
||
| 16 | private $object; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var string |
||
| 20 | */ |
||
| 21 | private $method; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Set dependencies |
||
| 25 | */ |
||
| 26 | 2 | public function setObject(WeavedInterface $object, \ReflectionMethod $method) |
|
| 31 | |||
| 32 | /** |
||
| 33 | * @return ReflectionClass |
||
| 34 | */ |
||
| 35 | 1 | public function getDeclaringClass() : ReflectionClass |
|
| 43 | |||
| 44 | /** |
||
| 45 | * {@inheritdoc} |
||
| 46 | */ |
||
| 47 | 1 | public function getAnnotations() : array |
|
| 58 | |||
| 59 | /** |
||
| 60 | * {@inheritdoc} |
||
| 61 | */ |
||
| 62 | 1 | public function getAnnotation(string $annotationName) |
|
| 71 | } |
||
| 72 |