1 | <?php |
||
19 | class InvocationInterceptor implements InterceptorInterface |
||
20 | { |
||
21 | /** |
||
22 | * @var Storage |
||
23 | */ |
||
24 | private $types; |
||
25 | |||
26 | /** |
||
27 | * InvocationInterceptor constructor. |
||
28 | * @param Storage $types |
||
29 | */ |
||
30 | public function __construct(Storage $types) |
||
34 | |||
35 | /** |
||
36 | * @param mixed $value |
||
37 | * @return bool |
||
38 | */ |
||
39 | public function match($value): bool |
||
43 | |||
44 | /** |
||
45 | * @param ContextInterface $context |
||
46 | * @param mixed $value |
||
47 | * @return array |
||
48 | */ |
||
49 | public function resolve(ContextInterface $context, $value): array |
||
55 | } |
||
56 |