AfterFileCopiedEvent
FinalYes
This event is fired after a file was copied within a Resource Storage / Driver.
The folder represents the "target folder".
Example: Listeners can sign up for listing duplicates using this event.
Table of Contents
Methods
- __construct() : mixed
- getFile() : FileInterface
- getFolder() : Folder
- getNewFile() : FileInterface|null
- getNewFileIdentifier() : string
Methods
__construct()
public
__construct(FileInterface $file, Folder $folder, string $newFileIdentifier, FileInterface|null $newFile) : mixed
Parameters
- $file : FileInterface
- $folder : Folder
- $newFileIdentifier : string
- $newFile : FileInterface|null
getFile()
public
getFile() : FileInterface
Return values
FileInterfacegetFolder()
public
getFolder() : Folder
Return values
FoldergetNewFile()
public
getNewFile() : FileInterface|null
Return values
FileInterface|nullgetNewFileIdentifier()
public
getNewFileIdentifier() : string