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

Public Member Functions

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

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

Definition at line 29 of file AfterFileReplacedEvent.php.

Member Function Documentation

◆ getFile()

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

◆ getLocalFilePath()

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

Definition at line 36 of file AfterFileReplacedEvent.php.