ProjectDescriptorMapper

Maps a projectDescriptor to and from a cache instance.

package

Default

Methods

Initializes this mapper with the given cache instance.

__construct(\Zend\Cache\Storage\StorageInterface $cache) 

Arguments

$cache

\Zend\Cache\Storage\StorageInterface

Removes all files in cache that do not occur in the given FileSet Collection.

garbageCollect(\phpDocumentor\Fileset\Collection $collection) : void

Arguments

$collection

\phpDocumentor\Fileset\Collection

Returns the Cache instance for this Mapper.

getCache() : \Zend\Cache\Storage\IterableInterface|\Zend\Cache\Storage\StorageInterface

Response

\Zend\Cache\Storage\IterableInterface|\Zend\Cache\Storage\StorageInterface

Clears the cache if a serialization exception was thrown

igBinaryCompatibleCacheClear(string $key, \Exception $e) : void
Throws
\Exception

Rethrows exception if nessesary

Arguments

$key

string

$e

\Exception

Returns the Project Descriptor from the cache.

populate(\phpDocumentor\Descriptor\ProjectDescriptor $projectDescriptor) : void

Arguments

Stores a Project Descriptor in the Cache.

save(\phpDocumentor\Descriptor\ProjectDescriptor $projectDescriptor) : void

Arguments

Constants

FILE_PREFIX

FILE_PREFIX

KEY_SETTINGS

KEY_SETTINGS

Properties

cache

cache : \Zend\Cache\Storage\StorageInterface|\Zend\Cache\Storage\IterableInterface
var

Type(s)

\Zend\Cache\Storage\StorageInterface|\Zend\Cache\Storage\IterableInterface