src/Route/Builder/Base.php
public function build(string $method, string $url, $handler) : Route
    {
        return new BaseRoute($method, $url, $handler);
    }
public function build(string $method, string $url, $handler) : Route
    {
        return new BaseRoute($method, $url, $handler);
    }
public function build ( string $ method , string $ url , $ handler ) : Route { return new BaseRoute ( $ method , $ url , $ handler ) ; }
Build instance of the route

@param string $method  Route method - GET, POST, etc...
@param string $url     route definition
@param mixed  $handler handler which will be executed if the url match
the route

@return \Kambo\Router\Route\Route\Base Base route
Build instance of the route