57 lines
969 B
PHP
Raw Normal View History

<?php
2015-11-10 01:27:09 +01:00
/*
* This file is part of the NelmioApiDocBundle.
*
* (c) Nelmio <hello@nelm.io>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Nelmio\ApiDocBundle\Tests\Fixtures\Model;
2012-12-03 16:32:15 +01:00
use JMS\Serializer\Annotation as JMS;
class JmsTest
{
public $nothing;
2012-08-07 21:57:36 -04:00
/**
* @JMS\Type("string");
*/
public $foo;
/**
* @JMS\Type("DateTime");
* @JMS\ReadOnlyProperty
*/
public $bar;
2012-08-07 21:57:36 -04:00
/**
* @JMS\Type("double");
* @JMS\SerializedName("number");
*/
public $baz;
2012-08-07 21:57:36 -04:00
/**
* @JMS\Type("array");
*/
public $arr;
2012-08-24 11:12:36 -04:00
/**
* @JMS\Type("Nelmio\ApiDocBundle\Tests\Fixtures\Model\JmsNested");
*/
public $nested;
2012-08-24 11:12:36 -04:00
/**
* @JMS\Type("array<Nelmio\ApiDocBundle\Tests\Fixtures\Model\JmsNested>");
*/
public $nestedArray;
2012-08-07 21:57:36 -04:00
2014-08-08 12:49:24 +02:00
/**
* @JMS\Groups("hidden")
*/
public $hidden;
}