Interface Yiisoft\Validator\PropagateOptionsInterface
| Implemented by | Yiisoft\Validator\Rule\Each, Yiisoft\Validator\Rule\Nested |
|---|
An optional interface for rules to implement. Allows to propagate their common options' values to child rules as an alternative way of specifying them explicitly in every child rule.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| propagateOptions() | A method for implementing propagation options' values from parent to child rules. | Yiisoft\Validator\PropagateOptionsInterface |
Method Details
A method for implementing propagation options' values from parent to child rules.
| public abstract void propagateOptions ( ) |
public function propagateOptions(): void;
Signup or Login in order to comment.