trait ConstantsAware

internal  
 

Methods

setConstants(array $consts)

No description

array
getConstants()

No description

getConstant(string $name)

No description

addConstant(string $name, mixed $value, bool $overwrite = false)

No description

removeConstant(string $name)

No description

bool
hasConstant(string $name)

No description

Details

at line 26
ConstantsAware setConstants(array $consts)

No description

Parameters

array $consts

Return Value

ConstantsAware

at line 39
array getConstants()

No description

Return Value

array

at line 45
Constant getConstant(string $name)

No description

Parameters

string $name

Return Value

Constant

at line 51
Constant addConstant(string $name, mixed $value, bool $overwrite = false)

No description

Parameters

string $name
mixed $value
bool $overwrite

Return Value

Constant

at line 62
ConstantsAware removeConstant(string $name)

No description

Parameters

string $name

Return Value

ConstantsAware

at line 69
bool hasConstant(string $name)

No description

Parameters

string $name

Return Value

bool