2024-10-01 15:54:04 +03:00

72 lines
1.2 KiB
PHP

<?php
/*
* 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;
use JMS\Serializer\Annotation as JMS;
class JmsNested
{
/**
* @JMS\Type("DateTime");
*
* @JMS\ReadOnlyProperty
*/
public $foo;
/**
* @JMS\Type("string");
*/
public $bar = 'baz';
/**
* Epic description.
*
* With multiple lines.
*
* @JMS\Type("array<integer>")
*/
public $baz;
/**
* @JMS\Type("Nelmio\ApiDocBundle\Tests\Fixtures\Model\JmsNested");
*/
public $circular;
/**
* @JMS\Type("Nelmio\ApiDocBundle\Tests\Fixtures\Model\JmsTest");
*/
public $parent;
/**
* @Jms\Type("string")
*
* @Jms\Since("0.2")
*/
public $since;
/**
* @Jms\Type("string")
*
* @Jms\Until("0.3")
*/
public $until;
/**
* @Jms\Type("string")
*
* @Jms\Since("0.4")
*
* @Jms\Until("0.5")
*/
public $sinceAndUntil;
}