/** * Use this method to access the body parameters of the request (e.g. $_POST). * * $password = $this->bodyParameter('password')->string()->required() * * @param string $name * @return TypeParser */ protected function bodyParameter($name) { return $this->bodyParser->get($name); }