Trait Yiisoft\Form\Field\Base\EnrichFromValidationRules\EnrichFromValidationRulesTrait
Public Methods
Method Details
| public self enrichFromValidationRules ( boolean $enrich = true ) | ||
| $enrich | boolean | |
public function enrichFromValidationRules(bool $enrich = true): self
{
$new = clone $this;
$new->enrichFromValidationRules = $enrich;
return $new;
}
| public self validationRulesEnricher ( ?\ | ||
| $enricher | ?\ |
|
public function validationRulesEnricher(?ValidationRulesEnricherInterface $enricher): self
{
$new = clone $this;
$new->validationRulesEnricher = $enricher;
return $new;
}
User Contributed Notes
Leave a comment
Join the conversation to share a note.