src/Viserio/Component/Routing/Route/Collection.php
public function match(string $identifier): RouteContract
    {
        if (isset($this->allRoutes[$identifier])) {
            return $this->allRoutes[$identifier];
        }

        throw new RuntimeException('Route not found, looks like your route cache is stale.');
    }
public function match(string $identifier): RouteContract
    {
        if (isset($this->allRoutes[$identifier])) {
            return $this->allRoutes[$identifier];
        }

        throw new RuntimeException('Route not found, looks like your route cache is stale.');
    }
{@inheritdoc}