public function handle(string $pattern, callable $resolver, int $priority = 0): Route
    {
        $this->cache = [];
        return $this->collection->createRoute($pattern, $resolver)->set('priority', $priority);
    }