class AbstractCompilerAttendant implements CompilerAttendantInterface

Class AbstractCompilerAttendant.

Traits

ParametersToPropertiesMapperTrait

Methods

__construct( array[],... $parameters)

Construct object with default parameters. Any number of parameters may be passed so long as they are each a single-element associative array of the form [propertyName=>propertyValue].

string
__toString()

Casting to string returns class name of attendant.

bool
isSupported( mixed $by)

Override to define logic for supported checks.

string
getType( bool $qualified = false)

The attendants are designated their "type" using the class names of the respective object. Although fully-qualified names can be (and are) used, this implementation does take the assuption that the base names of the implementations does not overlap.

Details

at line line 33
__construct( array[],... $parameters)

Construct object with default parameters. Any number of parameters may be passed so long as they are each a single-element associative array of the form [propertyName=>propertyValue].

If passed, these additional parameters will overwrite the default instance properties and, as such, the chain runtime handling.

Parameters

array[],... $parameters

at line line 43
string __toString()

Casting to string returns class name of attendant.

Return Value

string

at line line 55
bool isSupported( mixed $by)

Override to define logic for supported checks.

Parameters

mixed $by

Return Value

bool

at line line 69
string getType( bool $qualified = false)

The attendants are designated their "type" using the class names of the respective object. Although fully-qualified names can be (and are) used, this implementation does take the assuption that the base names of the implementations does not overlap.

Parameters

bool $qualified

Return Value

string