BcZip::_escapePath PHP Method

_escapePath() protected method

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