BeforeResourceStorageInitializationEvent
FinalYes
This event is fired before a resource object is actually built/created.
Example: A database record can be enriched to add dynamic values to each resource (file/folder) before creation of a storage
Table of Contents
Methods
- __construct() : mixed
- getFileIdentifier() : string|null
- getRecord() : array<string|int, mixed>
- getStorageUid() : int
- setFileIdentifier() : void
- setRecord() : void
- setStorageUid() : void
Methods
__construct()
    public
                    __construct(mixed $storageUid, mixed $record, string|null $fileIdentifier) : mixed
    Parameters
- $storageUid : mixed
- $record : mixed
- $fileIdentifier : string|null
getFileIdentifier()
    public
                    getFileIdentifier() : string|null
    Return values
string|nullgetRecord()
    public
                    getRecord() : array<string|int, mixed>
    Return values
array<string|int, mixed>getStorageUid()
    public
                    getStorageUid() : int
    Return values
intsetFileIdentifier()
    public
                    setFileIdentifier(string|null $fileIdentifier) : void
    Parameters
- $fileIdentifier : string|null
setRecord()
    public
                    setRecord(array<string|int, mixed> $record) : void
    Parameters
- $record : array<string|int, mixed>
setStorageUid()
    public
                    setStorageUid(int $storageUid) : void
    Parameters
- $storageUid : int