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