public RouteBuilderInterface::rebuild()
public RouteBuilderInterface::rebuildIfNeeded()
Rebuilds the route information and dumps it. Rebuilding the route information is the process of gathering all routing data from .routing.yml
public RouteBuilderInterface::setRebuildNeeded()