X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=vendor%2Fsymfony%2Fserializer%2FTests%2FFixtures%2FMaxDepthDummy.php;fp=vendor%2Fsymfony%2Fserializer%2FTests%2FFixtures%2FMaxDepthDummy.php;h=aef6dda2966ebf39fa86d890eb17fe0ac8dddbfc;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hp=0000000000000000000000000000000000000000;hpb=aea91e65e895364e460983b890e295aa5d5540a5;p=yaffs-website diff --git a/vendor/symfony/serializer/Tests/Fixtures/MaxDepthDummy.php b/vendor/symfony/serializer/Tests/Fixtures/MaxDepthDummy.php new file mode 100644 index 000000000..aef6dda29 --- /dev/null +++ b/vendor/symfony/serializer/Tests/Fixtures/MaxDepthDummy.php @@ -0,0 +1,45 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Serializer\Tests\Fixtures; + +use Symfony\Component\Serializer\Annotation\MaxDepth; + +/** + * @author Kévin Dunglas + */ +class MaxDepthDummy +{ + /** + * @MaxDepth(2) + */ + public $foo; + + public $bar; + + /** + * @var self + */ + public $child; + + /** + * @MaxDepth(3) + */ + public function getBar() + { + return $this->bar; + } + + public function getChild() + { + return $this->child; + } +}