1<?php
2
3declare(strict_types=1);
4
5namespace JMS\Serializer\Tests\Fixtures;
6
7use JMS\Serializer\Annotation\SerializedName;
8use JMS\Serializer\Annotation\Type;
9use JMS\Serializer\Annotation\XmlNamespace;
10use JMS\Serializer\Annotation\XmlRoot;
11
12/**
13 * @XmlRoot("ObjectWithNamespacesAndNestedList", namespace="http://example.com/namespace")
14 * @XmlNamespace(uri="http://example.com/namespace")
15 * @XmlNamespace(uri="http://example.com/namespace2", prefix="x")
16 */
17class ObjectWithNamespacesAndNestedList
18{
19    /**
20     * @Type("JMS\Serializer\Tests\Fixtures\PersonCollection")
21     * @SerializedName("person_collection")
22     */
23    public $personCollection;
24}
25