LSYii_ImageValidator

package

Default

Methods

A function to validate images, This don't validate file : must validate if file exist before.

validateImage(array|string $file): array
static

Arguments

$file

array|string

Either array with keys 'tmp_name' and 'type' or full file path

Response

array