Gh236Foo.php 309 B

12345678910111213141516171819
  1. <?php
  2. namespace JMS\Serializer\Tests\Fixtures\MaxDepth;
  3. use JMS\Serializer\Annotation as Serializer;
  4. class Gh236Foo
  5. {
  6. /**
  7. * @Serializer\MaxDepth(1)
  8. */
  9. public $a;
  10. public function __construct()
  11. {
  12. $this->a = new Gh236Bar();
  13. $this->a->inner = new Gh236Bar();
  14. }
  15. }