RequestMatcher

class RequestMatcher implements RequestMatcherInterface RequestMatcher compares a pre-defined set of checks against a Request instance. Methods __construct(string|null $path = null, string|null $host = null, string|string[]|null $methods = null, string|string[]|null $ips = null, array $attributes = array(), string|string[]|null $schemes = null) matchScheme(string|string[]|null $scheme) Adds a check for the HTTP scheme. matchHost(string $regexp) Adds a check for the URL host na

RequestHelper::getParameter()

mixed getParameter(string $key, string $default = null) Returns a parameter from the current request object. Parameters string $key The name of the parameter string $default A default value Return Value mixed See also Request::get()

RequestHelper::getName()

string getName() Returns the canonical name of this helper. Return Value string The canonical name

RequestHelper::getLocale()

string getLocale() Returns the locale. Return Value string

RequestHelper

class RequestHelper extends Helper RequestHelper provides access to the current request parameters. Methods setCharset(string $charset) Sets the default charset. from Helper string getCharset() Gets the default charset. from Helper __construct(RequestStack $requestStack) mixed getParameter(string $key, string $default = null) Returns a parameter from the current request object. string getLocale() Returns the locale. string getName() Returns the canonical name of t

RequestHandlerInterface

interface RequestHandlerInterface Submits forms if they were submitted. Methods handleRequest(FormInterface $form, mixed $request = null) Submits a form if it was submitted. Details handleRequest(FormInterface $form, mixed $request = null) Submits a form if it was submitted. Parameters FormInterface $form The form to submit mixed $request The current request

RequestDataCollector::onKernelResponse()

onKernelResponse(FilterResponseEvent $event) Parameters FilterResponseEvent $event

RequestDataCollector::onKernelController()

onKernelController(FilterControllerEvent $event) Parameters FilterControllerEvent $event

RequestDataCollector::onKernelController()

onKernelController(FilterControllerEvent $event) Parameters FilterControllerEvent $event

RequestDataCollector::getSubscribedEvents()

static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName', $priority)) a