BcSite::getPureUrl PHP Method

getPureUrl() public method

エイリアスを除外したURLを取得
public getPureUrl ( string $url ) : mixed | string
$url string
return mixed | string
    public function getPureUrl($url)
    {
        $url = preg_replace('/^\\//', '', $url);
        if ($this->alias) {
            return '/' . preg_replace('/^' . preg_quote($this->alias, '/') . '\\//', '', $url);
        }
        return '/' . $url;
    }