PHP Class PHPSA\Definition\AbstractDefinition

Show file Open project: ovr/phpsa Class Usage Examples

Protected Properties

Property Type Description
$compiled boolean
$name string

Public Methods

Method Description
compile ( Context $context ) : boolean Compile the definition
getName ( ) : string
getPointer ( ) : ScopePointer
isCompiled ( ) : boolean
setName ( string $name )

Method Details

compile() abstract public method

Compile the definition
abstract public compile ( Context $context ) : boolean
$context PHPSA\Context
return boolean

getName() public method

public getName ( ) : string
return string

getPointer() public method

public getPointer ( ) : ScopePointer
return PHPSA\ScopePointer

isCompiled() public method

public isCompiled ( ) : boolean
return boolean

setName() public method

public setName ( string $name )
$name string

Property Details

$compiled protected property

protected bool $compiled
return boolean

$name protected property

protected string $name
return string