rector/packages-tests/BetterPhpDocParser/PhpDocParser/TagValueNodeReprint/Fixture/AssertChoice/AssertChoiceWithMessage.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;
}