SimpleSubClassObject.php 724 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. namespace JMS\Serializer\Tests\Fixtures;
  3. use JMS\Serializer\Annotation\Type;
  4. use JMS\Serializer\Annotation\XmlElement;
  5. use JMS\Serializer\Annotation\XmlNamespace;
  6. /**
  7. * @XmlNamespace(prefix="old_foo", uri="http://foo.example.org");
  8. * @XmlNamespace(prefix="foo", uri="http://better.foo.example.org");
  9. */
  10. class SimpleSubClassObject
  11. extends SimpleClassObject
  12. {
  13. /**
  14. * @Type("string")
  15. * @XmlElement(namespace="http://better.foo.example.org")
  16. */
  17. public $moo;
  18. /**
  19. * @Type("string")
  20. * @XmlElement(namespace="http://foo.example.org")
  21. */
  22. public $baz;
  23. /**
  24. * @Type("string")
  25. * @XmlElement(namespace="http://new.foo.example.org")
  26. */
  27. public $qux;
  28. }