src/SnooPHP/Http/Route.php
public function method($method = null)
	{
		if ($method) $this->method = trim($method);
		return $this->method;
	}
public function method($method = null)
	{
		if ($method) $this->method = trim($method);
		return $this->method;
	}
public function method ( $ method = null ) { if ( $ method ) $ this -> method = trim ( $ method ) ; return $ this -> method ; }
Get or set route method

@param string $method if not null update method

@return string
Get or set route method