BeforeFileMovedEvent
FinalYes
This event is fired before a file is about to be moved within a Resource Storage / Driver.
The folder represents the "target folder".
Table of Contents
Methods
- __construct() : mixed
- getFile() : FileInterface
- getFolder() : Folder
- getTargetFileName() : string
Methods
__construct()
public
__construct(FileInterface $file, Folder $folder, string $targetFileName) : mixed
Parameters
- $file : FileInterface
- $folder : Folder
- $targetFileName : string
getFile()
public
getFile() : FileInterface
Return values
FileInterfacegetFolder()
public
getFolder() : Folder
Return values
FoldergetTargetFileName()
public
getTargetFileName() : string