src/Group.php
public function setMethod($method)
    {
        foreach ($this->routes as $route)
            $route->setMethod($method);
        return $this;
    }
public function setMethod($method)
    {
        foreach ($this->routes as $route)
            $route->setMethod($method);
        return $this;
    }
public function setMethod ( $ method ) { foreach ( $ this -> routes as $ route ) $ route -> setMethod ( $ method ) ; return $ this ; }
Set one HTTP method to all grouped routes.

@param string $method The HTTP Method
@return self
Set one HTTP method to all grouped routes .