class SS_ConfigStaticManifest_Reflection extends SS_ConfigStaticManifest

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

at line 20
__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.

at line 38
get($class, $name, $default = null)

Parameters

$class
$name
$default

at line 27
regenerate($cache = true)

Completely regenerates the manifest file.

Parameters

$cache

handleFile($basename, $pathname, $depth)

Parameters

$basename
$pathname
$depth

at line 63
getStatics()