Constants
FILE_PREFIX Line 30
mixed FILE_PREFIX = 'phpDocumentor-projectDescriptor-files-'
FILE_LIST Line 32
mixed FILE_LIST = 'phpDocumentor-projectDescriptor-filelist'
KEY_SETTINGS Line 34
mixed KEY_SETTINGS = 'phpDocumentor-projectDescriptor-settings'
Properties
$cache Line 37
private$cache : \Symfony\Component\Cache\Adapter\AdapterInterface
Methods
__construct() Line 42
Initializes this mapper with the given cache instance.
public__construct(AdapterInterface $descriptors) : mixed
Parameters
Returns
mixed —
populate() Line 50
Returns the Project Descriptor from the cache.
publicpopulate(ProjectDescriptor $projectDescriptor) : void
save() Line 74
Stores a Project Descriptor in the Cache.
publicsave(ProjectDescriptor $projectDescriptor) : void
garbageCollect() Line 113
Removes all files in cache that do not occur in the given FileSet Collection.
publicgarbageCollect(\phpDocumentor\Reflection\File[] $files) : void