This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/Serializer/Tests/Fixtures/MaxDepthDummy.php
2016-01-26 13:18:08 +01:00

46 lines
729 B
PHP

<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* 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 <dunglas@gmail.com>
*/
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;
}
}