src/Route/Collection.php
public function post(string $route, $handler) : Route
    {
        return $this->createRoute(Method::POST, $route, $handler);
    }
public function post(string $route, $handler) : Route
    {
        return $this->createRoute(Method::POST, $route, $handler);
    }
public function post ( string $ route , $ handler ) : Route { return $ this -> createRoute ( Method :: POST , $ route , $ handler ) ; }
Add route matched with POST method.
Shortcut for createRoute function with preset POST 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 POST method . Shortcut for createRoute function with preset POST method .