public function get($path = '', $parameters = [], $referenceType = UrlGenerator::ABSOLUTE_PATH)
{
if (0 === strpos($path, '@')) {
return $this->getRoute($path, $parameters, $referenceType);
}
$path = $this->parseQuery($path, $parameters);
if (filter_var($path, FILTER_VALIDATE_URL) !== false) {
return $path;
}
return $this->base($referenceType) . '/' . ltrim($path, '/');
}