Maslosoft Mangan API
Trait OnScenario
Use this trait to add validator on
field.
This will allow to use validator only on specified scenarios.
Direct Known Users
Maslosoft\Mangan\Validators\BuiltIn\BooleanValidator
,
Maslosoft\Mangan\Validators\BuiltIn\ClassValidator
,
Maslosoft\Mangan\Validators\BuiltIn\StringValidator
,
Maslosoft\Mangan\Validators\BuiltIn\UniqueValidator
,
Maslosoft\Mangan\Validators\BuiltIn\UrlValidator
,
Maslosoft\Mangan\Validators\BuiltIn\CompareValidator
,
Maslosoft\Mangan\Validators\BuiltIn\CountValidator
,
Maslosoft\Mangan\Validators\BuiltIn\EmailValidator
,
Maslosoft\Mangan\Validators\BuiltIn\ImmutableValidator
,
Maslosoft\Mangan\Validators\BuiltIn\NumberValidator
,
Maslosoft\Mangan\Validators\BuiltIn\RangeValidator
,
Maslosoft\Mangan\Validators\BuiltIn\RegexValidator
,
Maslosoft\Mangan\Validators\BuiltIn\RequiredValidator
Author: Piotr Maselkowski
Located at Validators/Traits/OnScenario.php