phpDocumentor

FilesystemAdapter extends AbstractAdapter
in package
implements PruneableInterface Uses FilesystemTrait

Interfaces, Classes, Traits and Enums

PruneableInterface

Table of Contents

TTL_ONE_YEAR  = 31556926
__construct()  : mixed
init()  : void
Sets up the caching folder with the given namespace.

Constants

Methods

__construct()

public __construct([string $namespace = 'phpdoc' ][, int $defaultLifetime = self::TTL_ONE_YEAR ]) : mixed
Parameters
$namespace : string = 'phpdoc'
$defaultLifetime : int = self::TTL_ONE_YEAR
Return values
mixed

init()

Sets up the caching folder with the given namespace.

public init(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.

Parameters
$namespace : string
$directory : string
Return values
void

Search results