| 1 | <?php |
||
| 4 | final class ParentNormalizerContext implements NormalizerContextInterface |
||
| 5 | { |
||
| 6 | private $root; |
||
| 7 | private $format; |
||
| 8 | private $parent; |
||
| 9 | /** @var int */ |
||
| 10 | private $level = 0; |
||
| 11 | |||
| 12 | public function __construct() |
||
| 15 | |||
| 16 | public function withRoot($root) |
||
| 24 | |||
| 25 | public function getRoot() |
||
| 29 | |||
| 30 | public function withFormat($format) |
||
| 38 | |||
| 39 | public function getFormat() |
||
| 43 | |||
| 44 | public function withParent($parent) |
||
| 53 | |||
| 54 | public function getParent() |
||
| 58 | |||
| 59 | public function getLevel() |
||
| 63 | } |
||
| 64 |