PropertySiblingHolder.php 773 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. /*
  3. * This file is part of the Symfony package.
  4. *
  5. * (c) Fabien Potencier <fabien@symfony.com>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Symfony\Component\Serializer\Tests\Fixtures;
  11. /**
  12. * @author Kévin Dunglas <dunglas@gmail.com>
  13. */
  14. class PropertySiblingHolder
  15. {
  16. public $sibling0;
  17. public $sibling1;
  18. public $sibling2;
  19. public function __construct()
  20. {
  21. $sibling = new PropertySibling();
  22. $this->sibling0 = $sibling;
  23. $this->sibling1 = $sibling;
  24. $this->sibling2 = $sibling;
  25. }
  26. }
  27. /**
  28. * @author Kévin Dunglas <dunglas@gmail.com>
  29. */
  30. class PropertySibling
  31. {
  32. public $coopTilleuls = 'Les-Tilleuls.coop';
  33. }