FILE_RENAMED
FILE_RENAMED
This event is fired after a file was renamed, it also sets a property `oldKey` into the event object.<br /> You can use it if you need to know what file was renamed.
Class StorageEvent
Each time an event is fired, an instance of Event class is passed to handlers. By extending this class you can implement your own event class and expand it with whatever functionality you might need.
$file : \app\framework\Component\Storage\File\File
$storage : \app\framework\Component\Storage\Storage
__construct(\app\framework\Component\Storage\File\File $file)
\app\framework\Component\Storage\File\File | $file |
getFile() : \app\framework\Component\Storage\File\File
Get working file
getStorage() : \app\framework\Component\Storage\Storage