ComposerPackageArtifact implements PackageCacheInterface

TYPO3 Package "cache" for Composer mode.

This class is used in two contexts: During Composer build time the artifact is stored and during TYPO3 runtime the artifact is only read. The context is decided on object construction.

Internal

This class is an implementation detail and does not represent public API

Table of Contents

Interfaces

PackageCacheInterface
Interface for TYPO3 Package cache.

Methods

__construct()  : mixed
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

__construct()

public __construct(string $packageArtifactsPath[, Filesystem|null $filesystem = null ][, string|null $cacheIdentifier = null ]) : mixed
Parameters
$packageArtifactsPath : string
$filesystem : Filesystem|null = null
$cacheIdentifier : string|null = null

getIdentifier()

Identifier that identifies the current state (typically a hash)

public getIdentifier() : string
Return values
string

invalidate()

Invalidate the current entry (only applicable in non Composer mode)

public invalidate() : void

        
On this page

Search results