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
Note
Currently, we do not have an example for this event. If you can provide a
useful one, please open an issue with your code snippets or
a pull request.
API
-
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