31 lines
520 B
PHP
Raw Normal View History

2012-04-13 14:11:54 +02:00
<?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 Symfony\Component\Validator\Constraints as Assert;
class Test
{
/**
* @Assert\Length(min="foo");
2012-06-20 23:19:34 +02:00
* @Assert\NotBlank
2012-04-13 14:11:54 +02:00
*/
public $a;
/**
* @Assert\Type("DateTime");
*/
public $b;
public $c;
2012-04-13 14:11:54 +02:00
}