ResourceCollection

final readonly class \TYPO3\CMS\Core\Package\Resource\ResourceCollection

Implements
ResourceCollectionInterface

Table of Contents

Interfaces

ResourceCollectionInterface

Methods

__construct()  : mixed
definitionForPath()  : ResourceDefinitionInterface
getPackageIcon()  : string|null
getPublicResourceDefinitions()  : PublicResourceDefinition[]
isPublicPath()  : bool
withAdditionalResources()  : ResourceCollectionInterface

Methods

__construct()

public __construct([array<int, ResourceDefinitionInterface> $resourceDefinitions = [] ][, string|null $iconIdentifier = null ][, bool $createResourcesOnTheFly = true ]) : mixed

Parameters

$resourceDefinitions : array<int, ResourceDefinitionInterface> = []
$iconIdentifier : string|null = null
$createResourcesOnTheFly : bool = true

getPackageIcon()

public getPackageIcon() : string|null

Return values

string|null

isPublicPath()

public isPublicPath(string $relativePath) : bool

Parameters

$relativePath : string

Return values

bool
On this page