PackageCacheInterface
Interface for TYPO3 Package cache.
This is an implementation detail to abstract the way the PackageManager stores and retrieves package information of installed TYPO3 packages (extensions).
In non Composer mode, the implementation remains to be around the availability of a PackageStates.php file, which is used to generate a cache entry of Package objects. in Composer mode, the package information is put in a persistent artifact file.
Table of Contents
Methods
- fetch() : PackageCacheEntry
- Fetch the (package states) entry from a persistent or transient location
- getIdentifier() : string
- Identifier that identifies the current state (typically a hash)
- invalidate() : void
- Invalidate the current entry (only applicable in non Composer mode)
- store() : void
- Store the entry
Methods
fetch()
Fetch the (package states) entry from a persistent or transient location
public
fetch() : PackageCacheEntry
Return values
PackageCacheEntrygetIdentifier()
Identifier that identifies the current state (typically a hash)
public
getIdentifier() : string
Return values
stringinvalidate()
Invalidate the current entry (only applicable in non Composer mode)
public
invalidate() : void
store()
Store the entry
public
store(PackageCacheEntry $cacheEntry) : void
Parameters
- $cacheEntry : PackageCacheEntry