1234567891011121314151617181920212223242526272829303132333435 |
- <?php
- namespace JMS\Serializer\Tests\Fixtures;
- use JMS\Serializer\Annotation\Type;
- use JMS\Serializer\Annotation\XmlAttribute;
- use JMS\Serializer\Annotation\XmlElement;
- use JMS\Serializer\Annotation\XmlNamespace;
- /**
- * @XmlNamespace(prefix="old_foo", uri="http://old.foo.example.org");
- * @XmlNamespace(prefix="foo", uri="http://foo.example.org");
- * @XmlNamespace(prefix="new_foo", uri="http://new.foo.example.org");
- */
- class SimpleClassObject
- {
- /**
- * @Type("string")
- * @XmlAttribute(namespace="http://old.foo.example.org")
- */
- public $foo;
- /**
- * @Type("string")
- * @XmlElement(namespace="http://foo.example.org")
- */
- public $bar;
- /**
- * @Type("string")
- * @XmlElement(namespace="http://new.foo.example.org")
- */
- public $moo;
- }
|