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

Public Member Functions

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

Private Attributes

FileInterface $file
 
string $content
 

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 ( FileInterface  $file,
string  $content 
)

Member Function Documentation

◆ getContent()

◆ getFile()

Member Data Documentation

◆ $content

string TYPO3\CMS\Core\Resource\Event\AfterFileContentsSetEvent::$content
private

◆ $file

FileInterface TYPO3\CMS\Core\Resource\Event\AfterFileContentsSetEvent::$file
private