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