src/Routing/Route.php
public static function add($method, $target, $handler, $name = null)
    {
        array_push(static::$prefixRoutes, [
            'method'  => $method, 'target' => $target,
            'handler' => $handler, 'name' => $name,
        ]);
    }
public static function add($method, $target, $handler, $name = null)
    {
        array_push(static::$prefixRoutes, [
            'method'  => $method, 'target' => $target,
            'handler' => $handler, 'name' => $name,
        ]);
    }
public static function add ( $ method , $ target , $ handler , $ name = null ) { array_push ( static :: $ prefixRoutes , [ 'method' => $ method , 'target' => $ target , 'handler' => $ handler , 'name' => $ name , ] ) ; }
Support method to add group of routes.

@param $method, HTTP Request method
@param $target, the route
@param $handler, Closure | Controller@method
@param $name, route name optional
Support method to add group of routes .