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

Public Member Functions

 __construct (FileInterface $file, string $localFilePath)
 
 getFile ()
 
 getLocalFilePath ()
 

Private Attributes

FileInterface $file
 
string $localFilePath
 

Detailed Description

This event is fired after a file was replaced.

Example: Further process a file or create variants, or index the contents of a file for AI analysis etc.

Definition at line 27 of file AfterFileReplacedEvent.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\Resource\Event\AfterFileReplacedEvent::__construct ( FileInterface  $file,
string  $localFilePath 
)

Member Function Documentation

◆ getFile()

◆ getLocalFilePath()

TYPO3\CMS\Core\Resource\Event\AfterFileReplacedEvent::getLocalFilePath ( )

Member Data Documentation

◆ $file

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

◆ $localFilePath

string TYPO3\CMS\Core\Resource\Event\AfterFileReplacedEvent::$localFilePath
private