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
| 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
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;
Signup or Login in order to comment.