public function getBodyParam($key, $default = null)
    {
        $params = $this->getBodyParams();
        if (array_key_exists($key, $params)) {
            return $params[$key];
        }
        return $default;
    }
public function getBodyParam($key, $default = null)
    {
        $params = $this->getBodyParams();
        if (array_key_exists($key, $params)) {
            return $params[$key];
        }
        return $default;
    }
public function getBodyParam ( $ key , $ default = null ) { $ params = $ this -> getBodyParams ( ) ; if ( array_key_exists ( $ key , $ params ) ) { return $ params [ $ key ] ; } return $ default ; }
Get one param of input body.

@param string $key

@return mixed
Get one param of input body .