ResourcePublicationSlot implements SingletonInterface
A PSR-14 event listener for using FAL resources in public (frontend)
will be renamed at some point.
Table of Contents
Interfaces
- SingletonInterface
- "empty" interface for singletons (marker interface pattern)
Properties
- $fileIdentifiers : array<int, string>
Methods
- add() : void
- getPublicUrl() : void
- has() : bool
- getStreamUrl() : string
Properties
$fileIdentifiers
protected
array<int, string>
$fileIdentifiers
= []
Methods
add()
public
add(FileInterface $resource) : void
Parameters
- $resource : FileInterface
getPublicUrl()
public
getPublicUrl(GeneratePublicUrlForResourceEvent $event) : void
Parameters
- $event : GeneratePublicUrlForResourceEvent
has()
public
has(FileInterface $resource) : bool
Parameters
- $resource : FileInterface
Return values
boolgetStreamUrl()
protected
getStreamUrl(ResourceInterface $resource) : string
Parameters
- $resource : ResourceInterface