DefaultSystemResourcePublisher implements SystemResourcePublisherInterface

Read onlyYes
FinalYes

This implementation publishes (when implemented) public assets from extension packages to the public _assets directory using a hash as directory name.

Subsequently, it can also generate URIs to public resource objects within that _assets folder

Internal

Never use or reference it directly, use SystemResourcePublisherInterface to inject it (or a proper replacement).

Attributes
#[AsAlias]
\TYPO3\CMS\Core\SystemResource\Publishing\SystemResourcePublisherInterface::class
$public: true
#[Autoconfigure]
$public: true

Table of Contents

Interfaces

SystemResourcePublisherInterface
Implementations of this interface can publish public extension resources (once implemented) and therefore also generate URIs to those published resources.

Methods

__construct()  : mixed
generateUri()  : UriInterface
publishResources()  : FlashMessageQueue

Methods

__construct()

public __construct([array<string|int, mixed> $fileSystemPublishers = [] ][, bool $failsafe = false ]) : mixed
Parameters
$fileSystemPublishers : array<string|int, mixed> = []
$failsafe : bool = false

        
On this page

Search results