FilesystemAdapter
in package
extends AbstractAdapter
Implements
PruneableInterface
Uses
FilesystemTrait
Interfaces, Classes & Used Traits
- PruneableInterface
- FilesystemTrait
Constants
TTL_ONE_YEAR Line 28
mixed TTL_ONE_YEAR = 31556926
Methods
__construct() Line 30
public__construct([string $namespace = 'phpdoc' ][, int $defaultLifetime = self::TTL_ONE_YEAR ]) : mixed
Parameters
Returns
mixed —
init() Line 45
Sets up the caching folder with the given namespace.
publicinit(string $namespace, string $directory) : void
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.