mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 19:46:23 +00:00
407 B
407 B
date | id | title |
---|---|---|
20201116 | ee2c3e75-2f2a-44c0-b24d-b15ac3fd3bb6 | Sequentially Constraint |
Description
Validates a set of constraints sequentially.
Syntax
/**
* @var string
*
* @Assert\Sequentially({
* @Assert\Type("string"),
* @Assert\Length(min="4"),
* @Assert\Regex("[a-z]"),
* @SomeCustomConstraintWithHeavyExternalCalls(),
* })
*/
public $someProperty;