mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-03 08:09:25 +03:00
34 lines
461 B
PHP
34 lines
461 B
PHP
<?php
|
|
|
|
namespace Nelmio\ApiDocBundle\Tests\Fixtures\Model;
|
|
|
|
use JMS\SerializerBundle\Annotation as JMS;
|
|
|
|
class JmsTest
|
|
{
|
|
public $nothing;
|
|
|
|
/**
|
|
* @JMS\Type("string");
|
|
*/
|
|
public $foo;
|
|
|
|
/**
|
|
* @JMS\Type("DateTime");
|
|
* @JMS\ReadOnly
|
|
*/
|
|
public $bar;
|
|
|
|
/**
|
|
* @JMS\Type("double");
|
|
* @JMS\SerializedName("number");
|
|
*/
|
|
public $baz;
|
|
|
|
/**
|
|
* @JMS\Type("array");
|
|
*/
|
|
public $arr;
|
|
|
|
}
|