mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 23:59:26 +03:00
34 lines
453 B
PHP
34 lines
453 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;
|
|
|
|
}
|