public function all(string $path, $handler, string $name = null): Route
    {
        $route = new Route($path, $handler, [], $name);

        $this->adapter->addRoute($route);

        return $route;
    }