0 follower

Interface Yiisoft\Validator\PropagateOptionsInterface

Implemented byYiisoft\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

Hide inherited methods

Method Description Defined By
propagateOptions() A method for implementing propagation options' values from parent to child rules. Yiisoft\Validator\PropagateOptionsInterface

Method Details

Hide inherited methods

propagateOptions() public abstract method

A method for implementing propagation options' values from parent to child rules.

public abstract void propagateOptions ( )

                public function propagateOptions(): void;