lib/Router.php
public static function map($methods, $path, $callback)
    {
        foreach ($methods as $httpMethod) {
            self::instance()->addRoute(
                $httpMethod, $path, self::callback($callback)
            );
        }
    }
public static function map($methods, $path, $callback)
    {
        foreach ($methods as $httpMethod) {
            self::instance()->addRoute(
                $httpMethod, $path, self::callback($callback)
            );
        }
    }
public static function map ( $ methods , $ path , $ callback ) { foreach ( $ methods as $ httpMethod ) { self :: instance ( ) -> addRoute ( $ httpMethod , $ path , self :: callback ( $ callback ) ) ; } }
Route that handles all HTTP request methods

@param array  $methods  List of HTTP methods to support, i.e: [GET,POST,EDIT]
@param string $path     URL segments and placeholders
@param mixed  $callback "MyController:method" or array(class,method)

@return void
Route that handles all HTTP request methods