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<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
fromCache()
    public
            static        fromCache(array<string|int, mixed> $packageData) : self
    Parameters
- $packageData : array<string|int, mixed>
 
Return values
selffromPackageData()
    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
selfgetAliasMap()
    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|nullgetPackages()
    public
                    getPackages() : array<string|int, PackageInterface>
    Return values
array<string|int, PackageInterface>serialize()
    public
                    serialize() : string
    Return values
stringwithIdentifier()
    public
                    withIdentifier(string $identifier) : self
    Parameters
- $identifier : string