src/Request.php
public function hasInput($method = '') {
        if (!$method) {
            $method = $this->getMethod();
        }

        switch (strtoupper($method)) {
            case self::METHOD_GET:
            case self::METHOD_DELETE:
            case self::METHOD_HEAD:
            case self::METHOD_OPTIONS:
                return false;
        }
        return true;
    }
public function hasInput($method = '') {
        if (!$method) {
            $method = $this->getMethod();
        }

        switch (strtoupper($method)) {
            case self::METHOD_GET:
            case self::METHOD_DELETE:
            case self::METHOD_HEAD:
            case self::METHOD_OPTIONS:
                return false;
        }
        return true;
    }
Returns true if an http method has input (a post body).

@param string $method The http method to test.
@return bool Returns true if the http method has input, false otherwise.