DefaultSystemResourcePublisher

final readonly class \TYPO3\CMS\Core\SystemResource\Publishing\DefaultSystemResourcePublisher

Implements
SystemResourcePublisherInterface

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

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 $fileSystemPublishers = [] ][, bool $failsafe = false ]) : mixed

Parameters

$fileSystemPublishers : array = []
$failsafe : bool = false
On this page