| 12345678910111213141516171819202122232425 |
- <?php
- namespace JMS\Serializer\Tests\Fixtures;
- use JMS\Serializer\Annotation\SerializedName;
- use JMS\Serializer\Annotation\Type;
- class Author
- {
- /**
- * @Type("string")
- * @SerializedName("full_name")
- */
- private $name;
- public function __construct($name)
- {
- $this->name = $name;
- }
- public function getName()
- {
- return $this->name;
- }
- }
|