public function parseHref($href, $attribute)
{
$parsingResult = $this->parse($href);
if (!isset($parsingResult[$attribute])) {
throw new InvalidArgumentException("No such attribute '{$attribute}' in route matched from {$href}");
}
return $parsingResult[$attribute];
}