---
title: "Deprecation: #89468 - Deprecate injection of EnvironmentService in Web Request"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-89468"
source: "Changelog/10.2/Deprecation-89468-DeprecateInjectionOfEnvironmentServiceInWebRequest.rst"
typo3-version: "10.2"
typo3-major: 10
type: "deprecation"
issue: 89468
forge: "https://forge.typo3.org/issues/89468"
tags: ["PHP-API", "NotScanned", "ext:extbase"]
rendered: "2026-09-29T06:32:46+00:00"
---

# Deprecation: #89468 - Deprecate injection of EnvironmentService in Web Request {#deprecation-89468}

See [forge#89468](https://forge.typo3.org/issues/89468)

## Description {#description}

The EnvironmentService is not needed any longer in the Web
Request of Extbase, therefore the property and the injection
method of said property have been marked as deprecated.

## Impact {#impact}

As of TYPO3 11.0, the property `\TYPO3\CMS\Extbase\Mvc\Web\Response::$environmentService` will no longer exist. If the
environment service is needed in a subclass of `\TYPO3\CMS\Extbase\Mvc\Web\Response`, it needs to be injected
manually.

## Affected Installations {#affected-installations}

All installations that implement subclasses of `\TYPO3\CMS\Extbase\Mvc\Web\Response` and expect an instance of the
`EnvironmentService` to be injected into `\TYPO3\CMS\Extbase\Mvc\Web\Response::$environmentService`.

## Migration {#migration}

The environment service needs to be injected manually in the subclass.
