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

Public Member Functions

 __construct (private FileInterface $file, private Folder $folder, private string $targetFileName)
 getFile ()
 getFolder ()
 getTargetFileName ()

Detailed Description

This event is fired before a file is about to be moved within a Resource Storage / Driver. The folder represents the "target folder".

Definition at line 27 of file BeforeFileMovedEvent.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\Resource\Event\BeforeFileMovedEvent::__construct ( private FileInterface  $file,
private Folder  $folder,
private string  $targetFileName 

Definition at line 29 of file BeforeFileMovedEvent.php.

Member Function Documentation

◆ getFile()

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

◆ getFolder()

TYPO3\CMS\Core\Resource\Event\BeforeFileMovedEvent::getFolder ( )

◆ getTargetFileName()

TYPO3\CMS\Core\Resource\Event\BeforeFileMovedEvent::getTargetFileName ( )