PackageCacheEntry
class \
A TYPO3 Package cache entry.
Represents a concrete state of TYPO3 packages. It interfaces between PackageManager and PackageCacheInterface.
Internal
Tags
Table of Contents
Methods
- ensureValidPackageConfiguration() : void
- Validates whether the configuration has the correct version
- fromCache() : self
- fromPackageData() : self
- getAliasMap() : array
- getComposerNameMap() : array
- getConfiguration() : StatesConfiguration
- getIdentifier() : string|null
- getPackages() : array
- serialize() : string
- withIdentifier() : self
Methods
ensureValidPackageConfiguration()
Validates whether the configuration has the correct version
public
static ensureValidPackageConfiguration(array $configuration) : void
Parameters
- $configuration : array
Tags
fromCache()
public
static fromCache(CacheArray $packageData) : self
Parameters
- $packageData : CacheArray
Return values
selffromPackageData()
public
static fromPackageData(StatesConfiguration $packageStatesConfiguration, array $packageAliasMap, array $composerNameToPackageKeyMap, array $packageObjects) : self
Parameters
- $packageStatesConfiguration : StatesConfiguration
- $packageAliasMap : array
- $composerNameToPackageKeyMap : array
- $packageObjects : array
Return values
selfgetAliasMap()
public
getAliasMap() : array
Return values
arraygetComposerNameMap()
public
getComposerNameMap() : array
Return values
arraygetConfiguration()
public
getConfiguration() : StatesConfiguration
Return values
StatesConfigurationgetIdentifier()
public
getIdentifier() : string|null
Return values
string|nullgetPackages()
public
getPackages() : array
Return values
arrayserialize()
public
serialize() : string
Return values
stringwithIdentifier()
public
withIdentifier(string $identifier) : self
Parameters
- $identifier : string