\phpDocumentor\Parser\CacheFilesystemAdapter

Summary

Methods
Properties
Constants
__construct()
init()
No public properties found
TTL_ONE_YEAR
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

TTL_ONE_YEAR

TTL_ONE_YEAR = 31556926

Methods

__construct()

__construct(string  $namespace = 'phpdoc', int  $defaultLifetime = self::TTL_ONE_YEAR) : mixed

Parameters

string $namespace
int $defaultLifetime

Returns

mixed —

init()

init(string  $namespace, string  $directory) : void

Sets up the caching folder with the given namespace.

With phpDocumentor you can set the caching folder in your configuration; this poses an interesting problem with the default FilesystemAdapter of Symfony as that only allows you to set the caching folder upon instantiation.

Parameters

string $namespace
string $directory