Pagekit\Filesystem\Filesystem::getPath PHP Метод

getPath() публичный Метод

Gets canonicalized file path or localpath.
public getPath ( string $file, boolean $local = false ) : string | false
$file string
$local boolean
Результат string | false
    public function getPath($file, $local = false)
    {
        return $this->getPathInfo($file, $local ? 'localpath' : 'pathname') ?: false;
    }