public function toString($collect_bubbleable_metadata = FALSE
) { if ($this->unrouted
) { return $this->
unroutedUrlAssembler()->
assemble($this->
getUri(),
$this->
getOptions(),
$collect_bubbleable_metadata);
} return $this->
urlGenerator()->
generateFromRoute($this->
getRouteName(),
$this->
getRouteParameters(),
$this->
getOptions(),
$collect_bubbleable_metadata);
} /**
* Returns the route information for a render array.
*
* @return array
* An associative array suitable for a render array.
*
* @deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. There is no
* replacement.
*
* @see https://www.drupal.org/node/3342977
*/