Breaking: #107831 - AfterCachedPageIsPersistedEvent no longer receives TypoScriptFrontendController 

See forge#107831

Description 

The frontend rendering related event AfterCachedPageIsPersistedEvent had to be changed due to the removal of class TypoScriptFrontendController: Method getController() is removed.

Impact 

Event listeners that call getController() will trigger a fatal PHP error and have to be adapted.

Affected installations 

Instances with extensions listening for event AfterCachedPageIsPersistedEvent may be affected. The extension scanner will find affected extensions.

Migration 

In most cases, the data that was previously provided by TypoScriptFrontendController can now be found in the Request which is available using $event->getRequest().

See Breaking: #102621 - Most TSFE members marked internal or read-only for more information.