BcZip::_escapePath PHP Méthode

_escapePath() protected méthode

CUI 向けにパスをエスケープする
protected _escapePath ( $path ) : string
$path
Résultat string
    protected function _escapePath($path)
    {
        $pathAry = explode(DS, $path);
        foreach ($pathAry as $key => $value) {
            $pathAry[$key] = escapeshellarg($value);
        }
        return implode(DS, $pathAry);
    }