PersonLocation.php 364 B

12345678910111213141516171819202122
  1. <?php
  2. namespace JMS\SerializerBundle\Tests\Fixtures;
  3. use JMS\SerializerBundle\Annotation\XmlRoot;
  4. use JMS\SerializerBundle\Annotation\Type;
  5. /**
  6. * @XmlRoot("person_location")
  7. */
  8. class PersonLocation
  9. {
  10. /**
  11. * @Type("JMS\SerializerBundle\Tests\Fixtures\Person")
  12. */
  13. public $person;
  14. /**
  15. * @Type("string")
  16. */
  17. public $location;
  18. }