Interface Yiisoft\Form\Field\Base\EnrichFromValidationRules\EnrichFromValidationRulesInterface
Controls whether a field's configuration should be enriched by additional configuration / parameters provided by {@see ValidationRulesEnricherInterface::process()}.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| enrichFromValidationRules() | Enable/disable enrichment based on validation rules. | Yiisoft\Form\Field\Base\EnrichFromValidationRules\EnrichFromValidationRulesInterface |
| validationRulesEnricher() | Yiisoft\Form\Field\Base\EnrichFromValidationRules\EnrichFromValidationRulesInterface |
Method Details
Enable/disable enrichment based on validation rules.
| public abstract self enrichFromValidationRules ( boolean $enrich ) | ||
| $enrich | boolean | |
public function enrichFromValidationRules(bool $enrich): self;
| public abstract self validationRulesEnricher ( Yiisoft\Form\ValidationRulesEnricherInterface|null $enricher ) | ||
| $enricher | Yiisoft\Form\ValidationRulesEnricherInterface|null | |
public function validationRulesEnricher(?ValidationRulesEnricherInterface $enricher): self;
Signup or Login in order to comment.