public function __construct(RequestAttributes $requestAttributes) { $this->requestAttributes = $requestAttributes; }