src/Routing/Router.php
protected function addRoute($method, $path, $handler)
    {
        array_push($this->routes[$method], [$path => $handler]);
    }
protected function addRoute($method, $path, $handler)
    {
        array_push($this->routes[$method], [$path => $handler]);
    }
Add a route to $routes.

@param [type] $method
@param [type] $path
@param [type] $handler