You are here

public property Entity::$firstName in Plug 7

@Assert\NotNull @Assert\Range(min=3) @Assert\All({@Assert\NotNull, @Assert\Range(min=3)}), @Assert\All(constraints={@Assert\NotNull, @Assert\Range(min=3)}) @Assert\Collection(fields={ "foo" = {@Assert\NotNull, @Assert\Range(min=3)}, "bar" = @Assert\Range(min=5) }) @Assert\Choice(choices={"A", "B"}, message="Must be one of %choices%")

Overrides EntityParent::$firstName

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Fixtures/Entity.php, line 35

Class

Entity
@Symfony\Component\Validator\Tests\Fixtures\ConstraintA @Assert\GroupSequence({"Foo", "Entity"}) @Assert\Callback({"Symfony\Component\Validator\Tests\Fixtures\CallbackClass", "callback"})

Namespace

Symfony\Component\Validator\Tests\Fixtures

Code

public $firstName;