MatthiasMullie\Minify\Minify::canImportFile PHP Method

canImportFile() protected method

Check if the path is a regular file and can be read.
protected canImportFile ( string $path ) : boolean
$path string
return boolean
    protected function canImportFile($path)
    {
        return strlen($path) < PHP_MAXPATHLEN && @is_file($path) && is_readable($path);
    }