mirror of
https://github.com/rectorphp/rector.git
synced 2024-05-29 07:20:52 +00:00
16 lines
413 B
PHP
16 lines
413 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Rector\Tests\BetterPhpDocParser\PhpDocParser\TagValueNodeReprint\Fixture\AssertChoice;
|
|
|
|
use Symfony\Component\Validator\Constraints as Assert;
|
|
|
|
class AssertChoiceWithMessage
|
|
{
|
|
/**
|
|
* @Assert\Choice(callback={"App\Entity\Genre", "getGenres"}, message="The value you selected is not a valid choice. Please one of {{ choices }}")
|
|
*/
|
|
private $ratingType;
|
|
}
|