Total Complexity | 6 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | final class NullHeap implements HeapInterface |
||
17 | { |
||
18 | public function has(object $entity): bool |
||
19 | { |
||
20 | return false; |
||
21 | } |
||
22 | |||
23 | public function get(object $entity): ?Node |
||
24 | { |
||
25 | return null; |
||
26 | } |
||
27 | |||
28 | public function find(string $role, array $scope): ?object |
||
29 | { |
||
30 | return null; |
||
31 | } |
||
32 | |||
33 | public function attach(object $entity, Node $node, array $index = []): void |
||
34 | { |
||
35 | } |
||
36 | |||
37 | public function detach(object $entity): void |
||
39 | } |
||
40 | |||
41 | public function clean(): void |
||
42 | { |
||
43 | } |
||
44 | } |
||
45 |