Cascade\Config\Loader\FileLoader\FileLoaderAbstract::isFile PHP Method

isFile() public method

Test if a given resource is a file name or a file path
public isFile ( string $resource ) : boolean
$resource string Plain string or file path
return boolean Whether or not the resource is a file
    public function isFile($resource)
    {
        return strpos($resource, "\n") === false && is_file($resource);
    }