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

@param   string $pattern
@param   callable $resolver
@param   int $priority

@return Route
Register a new view