class SS_ConfigStaticManifest_Reflection extends SS_ConfigStaticManifest (View source)

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

Properties

protected $base from  SS_ConfigStaticManifest
protected $tests from  SS_ConfigStaticManifest
protected $cache from  SS_ConfigStaticManifest
protected $key from  SS_ConfigStaticManifest
protected $index from  SS_ConfigStaticManifest
protected $statics from  SS_ConfigStaticManifest
protected static $initial_classes from  SS_ConfigStaticManifest

Methods

public
__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.

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

No description

public
regenerate($cache = true)

Completely regenerates the manifest file.

public
handleFile($basename, $pathname, $depth)

No description

public
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)

No description

Parameters

$class
$name
$default

regenerate($cache = true)

Completely regenerates the manifest file.

Parameters

$cache

handleFile($basename, $pathname, $depth)

No description

Parameters

$basename
$pathname
$depth

getStatics()

No description