phpDocumentor

ProjectDescriptorMapper
in package

Maps a projectDescriptor to and from a cache instance.

Table of Contents

Constants

FILE_LIST  = 'phpDocumentor-projectDescriptor-filelist'
FILE_PREFIX  = 'phpDocumentor-projectDescriptor-files-'
KEY_SETTINGS  = 'phpDocumentor-projectDescriptor-settings'

Properties

$cache  : CacheItemPoolInterface

Methods

__construct()  : mixed
Initializes this mapper with the given cache instance.
garbageCollect()  : void
Removes all files in cache that do not occur in the given FileSet Collection.
populate()  : void
Returns the Project Descriptor from the cache.
save()  : void
Stores a Project Descriptor in the Cache.
getApiSetFileKey()  : string
getApiSetFileListCacheKey()  : string
loadCacheItemAsSettings()  : void
populateApiSet()  : void
populateVersion()  : void
saveApiSet()  : void
saveVersion()  : void

Constants

Properties

Methods

__construct()

Initializes this mapper with the given cache instance.

public __construct(CacheItemPoolInterface $cache) : mixed
Parameters
$cache : CacheItemPoolInterface

getApiSetFileKey()

private getApiSetFileKey(string $fileListKey, string $path) : string
Parameters
$fileListKey : string
$path : string
Return values
string

        
On this page

Search results