AfterImageResourceResolvedEvent
FinalYes
Listeners are able to modify the resolved ContentObjectRenderer->getImgResource() result
Table of Contents
Methods
- __construct() : mixed
- getFile() : string|File|FileReference
- getFileArray() : array<string|int, mixed>
- getImageResource() : ImageResource|null
- setImageResource() : void
Methods
__construct()
public
__construct(string|File|FileReference $file, array<string|int, mixed> $fileArray, ImageResource|null $imageResource) : mixed
Parameters
- $file : string|File|FileReference
- $fileArray : array<string|int, mixed>
- $imageResource : ImageResource|null
getFile()
public
getFile() : string|File|FileReference
Return values
string|File|FileReferencegetFileArray()
public
getFileArray() : array<string|int, mixed>
Return values
array<string|int, mixed>getImageResource()
public
getImageResource() : ImageResource|null
Return values
ImageResource|nullsetImageResource()
public
setImageResource(ImageResource|null $imageResource) : void
Parameters
- $imageResource : ImageResource|null