class MultipartFormDataRequestBodyParserMiddleware implements MiddlewareInterface (View source)

Constants

INDEXED_FIELD_NAME

Field names with square bracket syntax processing

INDEXED_FIELD_NAME_PHP

Process field names with square brackets like PHP do.

This is the default behavior.

INDEXED_FIELD_NAME_IGNORE

Do not process field names with trailing square brackets

DUPLICATED_FIELD_NAME

DUPLICATED_FIELD_NAME_OVERRIDE

DUPLICATED_FIELD_NAME_ARRAY

EOL

EOL_LENGTH

Methods

__construct()

No description

array
getOptions()

No description

$this
setOption(string $key, mixed $value)

No description

mixed
getOption(string $key)

No description

ResponseInterface
process(ServerRequestInterface $request, RequestHandlerInterface $handler)

{@inheritdoc}

Details

__construct()

array getOptions()

Return Value

array

$this setOption(string $key, mixed $value)

Parameters

string $key
mixed $value

Return Value

$this

mixed getOption(string $key)

Parameters

string $key

Return Value

mixed

ResponseInterface process(ServerRequestInterface $request, RequestHandlerInterface $handler)

{@inheritdoc}

Parameters

ServerRequestInterface $request
RequestHandlerInterface $handler

Return Value

ResponseInterface

See also

\Psr\Http\Server\MiddlewareInterface::process()