Security update for Core, with self-updated composer
[yaffs-website] / vendor / symfony / serializer / Tests / Fixtures / MaxDepthDummy.php
1 <?php
2
3 /*
4  * This file is part of the Symfony package.
5  *
6  * (c) Fabien Potencier <fabien@symfony.com>
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11
12 namespace Symfony\Component\Serializer\Tests\Fixtures;
13
14 use Symfony\Component\Serializer\Annotation\MaxDepth;
15
16 /**
17  * @author Kévin Dunglas <dunglas@gmail.com>
18  */
19 class MaxDepthDummy
20 {
21     /**
22      * @MaxDepth(2)
23      */
24     public $foo;
25
26     public $bar;
27
28     /**
29      * @var self
30      */
31     public $child;
32
33     /**
34      * @MaxDepth(3)
35      */
36     public function getBar()
37     {
38         return $this->bar;
39     }
40
41     public function getChild()
42     {
43         return $this->child;
44     }
45 }