0 follower

Interface Yiisoft\Validator\PostValidationHookInterface

An optional interface for validated objects to implement. It provides processValidationResult() method-based hook allowing to execute custom code after a validation Yiisoft\Validator\Result has been formed.

Public Methods

Hide inherited methods

Method Description Defined By
processValidationResult() Method-based hook allowing to execute custom code after a validation Yiisoft\Validator\Result has been formed. Yiisoft\Validator\PostValidationHookInterface

Method Details

Hide inherited methods

processValidationResult() public abstract method

Method-based hook allowing to execute custom code after a validation Yiisoft\Validator\Result has been formed.

public abstract processValidationResult( Yiisoft\Validator\Result $result ): void
$result Yiisoft\Validator\Result

A validation Yiisoft\Validator\Result instance.

                public function processValidationResult(Result $result): void;