public function input($key = null, $default = null)
    {
        return $this->getParameter($key, $this->getPayloadData($key, $default));
    }
public function input($key = null, $default = null)
    {
        return $this->getParameter($key, $this->getPayloadData($key, $default));
    }
public function input ( $ key = null , $ default = null ) { return $ this -> getParameter ( $ key , $ this -> getPayloadData ( $ key , $ default ) ) ; }
Returns request input.

@param null $key
@param null $default

@return array|string
Returns request input .