class SS_ConfigStaticManifest_Reflection extends SS_ConfigStaticManifest (View source)

Allows access to config values set on classes using private statics.

Methods

__construct(string $base, bool $includeTests = false, bool $forceRegen = false, bool $cache = true)

Constructs and initialises a new config static manifest, either loading the data from the cache or re-scanning for classes.

get($class, $name, $default = null)

No description

regenerate($cache = true)

Completely regenerates the manifest file.

handleFile($basename, $pathname, $depth)

No description

getStatics()

No description

Details

__construct(string $base, bool $includeTests = false, bool $forceRegen = false, bool $cache = true)

Constructs and initialises a new config static manifest, either loading the data from the cache or re-scanning for classes.

Parameters

string $base

The manifest base path.

bool $includeTests

Include the contents of "tests" directories.

bool $forceRegen

Force the manifest to be regenerated.

bool $cache

If the manifest is regenerated, cache it.

get($class, $name, $default = null)

Parameters

$class
$name
$default

regenerate($cache = true)

Completely regenerates the manifest file.

Parameters

$cache

handleFile($basename, $pathname, $depth)

Parameters

$basename
$pathname
$depth

getStatics()