Total Complexity | 2 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
26 | class CallbackIdentifier extends AbstractIdentifier |
||
27 | { |
||
28 | /** |
||
29 | * @var callable |
||
30 | */ |
||
31 | protected $callable; |
||
32 | |||
33 | /** |
||
34 | * @param callable $callable |
||
35 | 12 | */ |
|
36 | public function __construct(callable $callable) |
||
39 | } |
||
40 | |||
41 | /** |
||
42 | * {@inheritDoc} |
||
43 | 12 | */ |
|
44 | public function identify(array $data): ?ArrayAccess |
||
51 |