1<?php
2
3declare(strict_types=1);
4
5namespace JMS\Serializer\Tests\Fixtures;
6
7use JMS\Serializer\Annotation as Serializer;
8
9class Node
10{
11    /**
12     * @Serializer\MaxDepth(2)
13     */
14    public $children;
15
16    public $foo = 'bar';
17
18    public function __construct($children = [])
19    {
20        $this->children = $children;
21    }
22}
23