PackageCacheEntry

class \TYPO3\CMS\Core\Package\Cache\PackageCacheEntry

A TYPO3 Package cache entry.

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

Table of Contents

Methods

ensureValidPackageConfiguration()  : void
Validates whether the configuration has the correct version
fromCache()  : self
fromPackageData()  : self
getAliasMap()  : array
getComposerNameMap()  : array
getConfiguration()  : array
getIdentifier()  : string|null
getPackages()  : PackageInterface[]
serialize()  : string
withIdentifier()  : self

Methods

ensureValidPackageConfiguration()

Validates whether the configuration has the correct version

public static ensureValidPackageConfiguration(array $configuration) : void

Parameters

$configuration : array

Tags

throws
PackageStatesUnavailableException

fromCache()

public static fromCache(array $packageData) : self

Parameters

$packageData : array

Return values

self

fromPackageData()

public static fromPackageData(array $packageStatesConfiguration, array $packageAliasMap, array $composerNameToPackageKeyMap, array $packageObjects) : self

Parameters

$packageStatesConfiguration : array
$packageAliasMap : array
$composerNameToPackageKeyMap : array
$packageObjects : array

Return values

self

getAliasMap()

public getAliasMap() : array

Return values

array

getComposerNameMap()

public getComposerNameMap() : array

Return values

array

getConfiguration()

public getConfiguration() : array

Return values

array

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