This package turns the
Nette\Http\IRequest value object into a container of value object.
You can now safely dependent on the service and change the instance, for example if you were to handle more requests in one instance of application.
$ composer require kdyby/request-stack
Learn more in the documentation.