validators\ImageValidator validateImage()

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.

doc_Yii
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.