Kraken\_Module\Filesystem\_Abstract\FilesystemTestAbstract::getPath PHP Метод

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

public getPath ( string $path, null $replace = null, string $with = '' ) : string
$path string
$replace null
$with string
Результат string
    public function getPath($path, $replace = null, $with = '')
    {
        if (!isset($this->paths[$path])) {
            return $path;
        }
        $path = $this->paths[$path];
        if ($replace !== null) {
            $path = str_replace($replace, $with, $path);
        }
        return $path;
    }