validateImage() protected method
Validates an image file.
| protected array|null validateImage ( $image ) | ||
|---|---|---|
| $image | yii\web\UploadedFile |
Uploaded file passed to check against a set of rules |
| return | array|null |
The error message and the parameters to be inserted into the error message. Null should be returned if the data is valid. |
Please login to continue.