| 1 | <?php |
||
| 7 | final class ReflectionMethod extends \ReflectionMethod implements Reader |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var WeavedInterface |
||
| 11 | */ |
||
| 12 | private $object; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | private $method; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Set dependencies |
||
| 21 | */ |
||
| 22 | 3 | public function setObject(WeavedInterface $object, \ReflectionMethod $method) |
|
| 27 | |||
| 28 | 2 | public function getDeclaringClass() : ReflectionClass |
|
| 40 | |||
| 41 | /** |
||
| 42 | * {@inheritdoc} |
||
| 43 | */ |
||
| 44 | 2 | public function getAnnotations() : array |
|
| 55 | |||
| 56 | /** |
||
| 57 | * {@inheritdoc} |
||
| 58 | */ |
||
| 59 | 2 | public function getAnnotation(string $annotationName) |
|
| 68 | } |
||
| 69 |