public function post($key = null, $default = null) { if (null === $key) { return $this->post; } return isset($this->post[$key]) ? $this->post[$key] : $default; }