SystemResourceUriGeneratorInterface

This is an implementation detail to allow not exposing the absolute file path to extension resources directly, but only to the resource publisher when generating URLs to the _assets directory.

Internal

Only to be used in TYPO3\CMS\Core\SystemResource namespace

Table of Contents

Methods

generateForFile()  : UriInterface
generateForPublicResourceBasedOnAbsolutePath()  : UriInterface

Methods

generateForFile()

public generateForFile(File $file) : UriInterface
Parameters
$file : File
Return values
UriInterface

generateForPublicResourceBasedOnAbsolutePath()

public generateForPublicResourceBasedOnAbsolutePath(PublicResourceInterface $resource, string $absoluteResourcePath) : UriInterface
Parameters
$resource : PublicResourceInterface
$absoluteResourcePath : string
Return values
UriInterface

        
On this page

Search results