public function isFormData()
    {
        $method = isset($this->env['slim.method_override.original_method']) ? $this->env['slim.method_override.original_method'] : $this->getMethod();

        return ($method === self::METHOD_POST && is_null($this->getContentType())) || in_array($this->getMediaType(), self::$formDataMediaTypes);
    }
public function isFormData()
    {
        $method = isset($this->env['slim.method_override.original_method']) ? $this->env['slim.method_override.original_method'] : $this->getMethod();

        return ($method === self::METHOD_POST && is_null($this->getContentType())) || in_array($this->getMediaType(), self::$formDataMediaTypes);
    }
public function isFormData ( ) { $ method = isset ( $ this -> env [ 'slim.method_override.original_method' ] ) ? $ this -> env [ 'slim.method_override.original_method' ] : $ this -> getMethod ( ) ; return ( $ method === self :: METHOD_POST && is_null ( $ this -> getContentType ( ) ) ) || in_array ( $ this -> getMediaType ( ) , self :: $ formDataMediaTypes ) ; }
Does the Request body contain parseable form data?
@return bool
Does the Request body contain parseable form data?