0 follower

Interface Yiisoft\Validator\PostValidationHookInterface

An optional interface for validated objects to implement. It provides {@see processValidationResult()} method-based hook allowing to execute custom code after a validation {@see 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 {@see 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 {@see Result} has been formed.

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

A validation {@see \Yiisoft\Validator\Result} instance.

                public function processValidationResult(Result $result): void;