src/Route/Collection.php
public function get(string $route, $handler) : Route
    {
        return $this->createRoute(Method::GET, $route, $handler);
    }
public function get(string $route, $handler) : Route
    {
        return $this->createRoute(Method::GET, $route, $handler);
    }
public function get ( string $ route , $ handler ) : Route { return $ this -> createRoute ( Method :: GET , $ route , $ handler ) ; }
Add route matched with GET method.
Shortcut for createRoute function with preset GET method.

@param mixed $route   route definition
@param mixed $handler handler which will be executed if the url match
the route

@return \Kambo\Router\Route\Route Created route
Add route matched with GET method . Shortcut for createRoute function with preset GET method .