26 $this->parsed_body =
$request->getParsedBody();
35 if (!isset($this->parsed_body[
$name])) {
36 throw new \LogicException(
"'$name' is not contained in posted data.");
39 return $this->parsed_body[
$name];
48 if (!isset($this->parsed_body[
$name])) {
52 return $this->parsed_body[
$name];
foreach($paths as $path) $request
An exception for terminatinating execution or to throw for unit testing.
Implements interaction of input element with post data from psr-7 server request.
getOr($name, $default)
@inheritdocs
__construct(ServerRequestInterface $request)
Describes how Input-Elements want to interact with posted data.
Representation of an incoming, server-side HTTP request.