Symfony\Component\Form\NativeRequestHandler
A request handler using PHP's super globals $_GET, $_POST and $_SERVER.
- Author: Bernhard Schussek <bschussek@gmail.com>
Synopsis
class NativeRequestHandler
implements
RequestHandlerInterface
{
- // members
- private array $fileKeys;
- // methods
- public void handleRequest()
- private static string getRequestMethod()
- private static array fixPhpFilesArray()
- private static array|null stripEmptyFiles()
Hierarchy
Members
private
- $fileKeys
—
array
The allowed keys of the $_FILES array.
Methods
private
- fixPhpFilesArray() — Fixes a malformed PHP $_FILES array.
- getRequestMethod() — Returns the method used to submit the request to the server.
- stripEmptyFiles() — Sets empty uploaded files to NULL in the given uploaded files array.
public
- handleRequest() — {@inheritdoc}