1 | <?php |
||
6 | final class FakeNormalizerContext implements NormalizerContextInterface |
||
7 | { |
||
8 | private $root; |
||
9 | private $format; |
||
10 | private $parent; |
||
11 | /** @var int */ |
||
12 | private $level = 0; |
||
13 | |||
14 | public function __construct() |
||
17 | |||
18 | public function withRoot($root) |
||
24 | |||
25 | public function getRoot() |
||
29 | |||
30 | public function withFormat($format) |
||
36 | |||
37 | public function getFormat() |
||
41 | |||
42 | public function withParent($parent) |
||
49 | |||
50 | public function getParent() |
||
54 | |||
55 | public function getLevel() |
||
59 | } |
||
60 |