AfterFileContentsSetEvent 

The PSR-14 event \TYPO3\CMS\Core\Resource\Event\AfterFileContentsSetEvent is fired after the contents of a file got set / replaced.

Example: Listeners can analyze content for AI purposes within extensions.

Example 

API 

final class AfterFileContentsSetEvent
Fully qualified name
\TYPO3\CMS\Core\Resource\Event\AfterFileContentsSetEvent

This event is fired after the contents of a file got set / replaced.

Examples: Listeners can analyze content for AI purposes within Extensions.

getFile()
Returns
\TYPO3\CMS\Core\Resource\FileInterface
getContent()
Returns
string