‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Resource\Event\AfterFileContentsSetEvent Class Reference

Public Member Functions

 __construct (private FileInterface $file, private string $content)
 
 getFile ()
 
 getContent ()
 

Detailed Description

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

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

Definition at line 27 of file AfterFileContentsSetEvent.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\Resource\Event\AfterFileContentsSetEvent::__construct ( private FileInterface  $file,
private string  $content 
)

Definition at line 29 of file AfterFileContentsSetEvent.php.

Member Function Documentation

◆ getContent()

TYPO3\CMS\Core\Resource\Event\AfterFileContentsSetEvent::getContent ( )

◆ getFile()

TYPO3\CMS\Core\Resource\Event\AfterFileContentsSetEvent::getFile ( )