protected function unmaskUrl(array $url_parameters): string
    {
        $url = $this->getPath();

        foreach ($url_parameters as $parameter => $value) {
            $url = str_replace(sprintf('{%s}', $parameter), $value, $url);
        }

        return $url;
    }
protected function unmaskUrl(array $url_parameters): string
    {
        $url = $this->getPath();

        foreach ($url_parameters as $parameter => $value) {
            $url = str_replace(sprintf('{%s}', $parameter), $value, $url);
        }

        return $url;
    }
protected function unmaskUrl ( array $ url_parameters ) : string { $ url = $ this -> getPath ( ) ; foreach ( $ url_parameters as $ parameter => $ value ) { $ url = str_replace ( sprintf ( '{%s}' , $ parameter ) , $ value , $ url ) ; } return $ url ; }
Insert values for placeholders in the page's path.

@param array $url_parameters

@return string
Insert values for placeholders in the page s path .