src/Router.php
public function match( $method, $path, callable $callback ) {
        $route = new Route( mb_strtoupper( $method ), $path, $callback );
        $this->_routes[] = $route;
        return $route;
    }
public function match( $method, $path, callable $callback ) {
        $route = new Route( mb_strtoupper( $method ), $path, $callback );
        $this->_routes[] = $route;
        return $route;
    }
public function match ( $ method , $ path , callable $ callback ) { $ route = new Route ( mb_strtoupper ( $ method ) , $ path , $ callback ) ; $ this -> _routes [ ] = $ route ; return $ route ; }
Maps a request to a callable.

@param string $method Request method
@param string $path Matched route path
@param callable $callback Callback that returns the response when matched
@return Route
Maps a request to a callable .