The `getMasterRequest` method is part of the `RequestStack` class in the `Symfony\Component\HttpFoundation` component of PHP Symfony framework. This method retrieves the main HTTP request object from the stack of requests. The main request represents the original request that initiated the current application flow. This method returns `null` if there is no main request in the stack.
PHP Symfony\Component\HttpFoundation RequestStack::getMasterRequest - 30 examples found. These are the top rated real world PHP examples of Symfony\Component\HttpFoundation\RequestStack::getMasterRequest extracted from open source projects. You can rate examples to help us improve the quality of examples.