Josegonzalez\Upload\Validation\Traits\UploadValidationTrait::isUnderPhpSizeLimit PHP Method

isUnderPhpSizeLimit() public static method

Check that the file does not exceed the max file size specified by PHP
public static isUnderPhpSizeLimit ( mixed $check ) : boolean
$check mixed Value to check
return boolean Success
    public static function isUnderPhpSizeLimit($check)
    {
        return Hash::get($check, 'error') !== UPLOAD_ERR_INI_SIZE;
    }