1 | <?php |
||
16 | class ParameterHandler implements ParameterHandlerInterface |
||
17 | { |
||
18 | /** |
||
19 | * @var Reader |
||
20 | */ |
||
21 | private $reader; |
||
22 | |||
23 | /** |
||
24 | * @var InjectorInterface |
||
25 | */ |
||
26 | private $injector; |
||
27 | |||
28 | 38 | public function __construct(Reader $reader, InjectorInterface $injector) |
|
33 | |||
34 | /** |
||
35 | * {@inheritdoc} |
||
36 | * |
||
37 | * @throws \BEAR\Resource\Exception\ParameterException |
||
38 | */ |
||
39 | 2 | public function handle(\ReflectionParameter $parameter, array $query) |
|
52 | |||
53 | /** |
||
54 | * @param ResourceParam $resourceParam |
||
55 | * @param array $query |
||
56 | * |
||
57 | * @return mixed |
||
58 | */ |
||
59 | 1 | private function getResourceParam(ResourceParam $resourceParam, array $query) |
|
68 | } |
||
69 |