Cascade\Config\Loader\FileLoader\FileLoaderAbstract::isFile PHP 메소드

isFile() 공개 메소드

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
리턴 boolean Whether or not the resource is a file
    public function isFile($resource)
    {
        return strpos($resource, "\n") === false && is_file($resource);
    }