public Url::setUrlGenerator(UrlGeneratorInterface $url_generator = NULL)
public Url::getOptions() Returns the URL options.
Stores the internal path, if already requested by getInternalPath(). Type: string File
Indicates whether this URL is for a URI without a Drupal route. Type: bool File
public Url::toString($collect_bubbleable_metadata = FALSE) Generates
public Url::getRouteName() Returns the route name.
public Url::setOptions($options) Sets the URL options.
Indicates whether this object contains an external URL. Type: bool File
public Url::setRouteParameter($key, $value) Sets a specific
public Url::getInternalPath() Returns the internal path (system
Page 4 of 5