1 | <?php |
||
21 | final class InjectionPoint implements InjectionPointInterface |
||
22 | { |
||
23 | /** @var ReflectionParameter */ |
||
24 | private $parameter; |
||
25 | |||
26 | /** @var string */ |
||
27 | private $scriptDir; |
||
28 | |||
29 | public function __construct(ReflectionParameter $parameter, string $scriptDir) |
||
34 | |||
35 | /** |
||
36 | * {@inheritdoc} |
||
37 | */ |
||
38 | public function getParameter(): ReflectionParameter |
||
42 | |||
43 | /** |
||
44 | * {@inheritdoc} |
||
45 | */ |
||
46 | public function getMethod(): \ReflectionMethod |
||
53 | |||
54 | /** |
||
55 | * {@inheritdoc} |
||
56 | */ |
||
57 | public function getClass(): ReflectionClass |
||
64 | |||
65 | /** |
||
66 | * {@inheritdoc} |
||
67 | * |
||
68 | * @return array<(object|null)> |
||
69 | * |
||
70 | * @psalm-suppress ImplementedReturnTypeMismatch |
||
71 | */ |
||
72 | public function getQualifiers(): array |
||
76 | |||
77 | /** |
||
78 | * {@inheritdoc} |
||
79 | * |
||
80 | * @return object|null |
||
81 | */ |
||
82 | public function getQualifier() |
||
105 | } |
||
106 |