1 | <?php |
||
22 | final class InjectionPoint implements InjectionPointInterface |
||
23 | { |
||
24 | /** @var ReflectionParameter */ |
||
25 | private $parameter; |
||
26 | |||
27 | /** @var string */ |
||
28 | private $scriptDir; |
||
29 | |||
30 | public function __construct(ReflectionParameter $parameter, string $scriptDir) |
||
35 | |||
36 | /** |
||
37 | * {@inheritdoc} |
||
38 | */ |
||
39 | public function getParameter(): ReflectionParameter |
||
43 | |||
44 | /** |
||
45 | * {@inheritdoc} |
||
46 | */ |
||
47 | public function getMethod(): \ReflectionMethod |
||
54 | |||
55 | /** |
||
56 | * {@inheritdoc} |
||
57 | */ |
||
58 | public function getClass(): ReflectionClass |
||
67 | |||
68 | /** |
||
69 | * {@inheritdoc} |
||
70 | * |
||
71 | * @return array<(object|null)> |
||
72 | * |
||
73 | * @psalm-suppress ImplementedReturnTypeMismatch |
||
74 | */ |
||
75 | public function getQualifiers(): array |
||
79 | |||
80 | /** |
||
81 | * {@inheritdoc} |
||
82 | * |
||
83 | * @return object|null |
||
84 | */ |
||
85 | public function getQualifier() |
||
110 | } |
||
111 |