PackageCacheEntry

A TYPO3 Package cache entry.

Represents a concrete state of TYPO3 packages. It interfaces between PackageManager and PackageCacheInterface.

Internal

Table of Contents

Methods

ensureValidPackageConfiguration()  : void
Validates whether the configuration has the correct version
fromCache()  : self
fromPackageData()  : self
getAliasMap()  : array<string|int, mixed>
getComposerNameMap()  : array<string|int, mixed>
getConfiguration()  : array<string|int, mixed>
getIdentifier()  : string|null
getPackages()  : array<string|int, PackageInterface>
serialize()  : string
withIdentifier()  : self

Methods

ensureValidPackageConfiguration()

Validates whether the configuration has the correct version

public static ensureValidPackageConfiguration(array<string|int, mixed> $configuration) : void
Parameters
$configuration : array<string|int, mixed>
Tags
throws
PackageStatesUnavailableException

fromCache()

public static fromCache(array<string|int, mixed> $packageData) : self
Parameters
$packageData : array<string|int, mixed>
Return values
self

fromPackageData()

public static fromPackageData(array<string|int, mixed> $packageStatesConfiguration, array<string|int, mixed> $packageAliasMap, array<string|int, mixed> $composerNameToPackageKeyMap, array<string|int, mixed> $packageObjects) : self
Parameters
$packageStatesConfiguration : array<string|int, mixed>
$packageAliasMap : array<string|int, mixed>
$composerNameToPackageKeyMap : array<string|int, mixed>
$packageObjects : array<string|int, mixed>
Return values
self

getAliasMap()

public getAliasMap() : array<string|int, mixed>
Return values
array<string|int, mixed>

getComposerNameMap()

public getComposerNameMap() : array<string|int, mixed>
Return values
array<string|int, mixed>

getConfiguration()

public getConfiguration() : array<string|int, mixed>
Return values
array<string|int, mixed>

getIdentifier()

public getIdentifier() : string|null
Return values
string|null

serialize()

public serialize() : string
Return values
string

withIdentifier()

public withIdentifier(string $identifier) : self
Parameters
$identifier : string
Return values
self

        
On this page

Search results