eZ\Publish\Core\IO\UrlDecorator\Prefix::undecorate PHP Метод

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

public undecorate ( $url )
    public function undecorate($url)
    {
        if (empty($this->prefix)) {
            return $url;
        }
        if (strpos($url, $this->prefix) !== 0) {
            throw new InvalidBinaryPrefixException($url);
        }
        return trim(substr($url, strlen($this->prefix)), '/');
    }