private function createRoute(string $method, string $path, $controller, array $options = []) : Route
    {
        return new Route([$method], $path, $controller, $options);
    }
private function createRoute(string $method, string $path, $controller, array $options = []) : Route
    {
        return new Route([$method], $path, $controller, $options);
    }
private function createRoute ( string $ method , string $ path , $ controller , array $ options = [ ] ) : Route { return new Route ( [ $ method ] , $ path , $ controller , $ options ) ; }
Creates a route from the input

@param string $method The method whose route this is
@param string $path The path to match on
@param string|callable $controller The name of the controller/method or the callback
@param array $options The list of options for this path
@return Route The route from the input
Creates a route from the input