Total Complexity | 6 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Coverage | 92.86% |
Changes | 0 |
1 | <?php |
||
9 | class DeserializationContext extends Context |
||
10 | { |
||
11 | /** |
||
12 | * @var int |
||
13 | 5 | */ |
|
14 | private $depth = 0; |
||
15 | 5 | ||
16 | public static function create(): self |
||
17 | { |
||
18 | 1 | return new self(); |
|
19 | } |
||
20 | 1 | ||
21 | public function getDirection(): int |
||
22 | { |
||
23 | 6 | return GraphNavigatorInterface::DIRECTION_DESERIALIZATION; |
|
24 | } |
||
25 | 6 | ||
26 | public function getDepth(): int |
||
27 | { |
||
28 | 80 | return $this->depth; |
|
29 | } |
||
30 | 80 | ||
31 | 80 | public function increaseDepth(): void |
|
34 | } |
||
35 | 77 | ||
36 | public function decreaseDepth(): void |
||
43 | } |
||
44 | } |
||
45 |