HttpFoundationRequestHandler
in package
implements
RequestHandlerInterface
A request processor using the {@link Request} class of the HttpFoundation component.
Tags
Table of Contents
Interfaces
- RequestHandlerInterface
- Submits forms if they were submitted.
Properties
- $serverParams : mixed
Methods
- __construct() : mixed
- getUploadFileError() : int|null
- handleRequest() : mixed
- Submits a form if it was submitted.
- isFileUpload() : bool
- Returns true if the given data is a file upload.
Properties
$serverParams
private
mixed
$serverParams
Methods
__construct()
public
__construct([ServerParams $serverParams = null ]) : mixed
Parameters
- $serverParams : ServerParams = null
getUploadFileError()
public
getUploadFileError(mixed $data) : int|null
Parameters
- $data : mixed
Return values
int|nullhandleRequest()
Submits a form if it was submitted.
public
handleRequest(FormInterface $form[, mixed $request = null ]) : mixed
Parameters
- $form : FormInterface
- $request : mixed = null
isFileUpload()
Returns true if the given data is a file upload.
public
isFileUpload(mixed $data) : bool
Parameters
- $data : mixed