Sets a condition on all routes.
Existing conditions will be overridden.
public function setCondition(?string $condition) : void { foreach ($this->routes as $route) { $route->setCondition($condition); } }