PHP Class PHPSA\Definition\RuntimeClassDefinition

Inheritance: extends ClassDefinition
ファイルを表示 Open project: ovr/phpsa Class Usage Examples

Protected Properties

Property Type Description
$reflection ReflectionClass

Public Methods

Method Description
__construct ( ReflectionClass $reflection )
compile ( Context $context )
getExtendsClass ( ) : null | string
getExtendsClassDefinition ( ) : null | RuntimeClassDefinition
getFilepath ( ) : string
getMethod ( $name, boolean $inherit = false ) : ReflectionClassMethod
hasConst ( string $name, boolean $inherit = false ) : boolean
hasMethod ( string $name, boolean | false $inherit = false ) : boolean
hasProperty ( $name, boolean $inherit = false ) : boolean
isAbstract ( ) : boolean

Method Details

__construct() public method

public __construct ( ReflectionClass $reflection )
$reflection ReflectionClass

compile() public method

public compile ( Context $context )
$context PHPSA\Context

getExtendsClass() public method

public getExtendsClass ( ) : null | string
return null | string

getExtendsClassDefinition() public method

public getExtendsClassDefinition ( ) : null | RuntimeClassDefinition
return null | RuntimeClassDefinition

getFilepath() public method

public getFilepath ( ) : string
return string

getMethod() public method

public getMethod ( $name, boolean $inherit = false ) : ReflectionClassMethod
$name
$inherit boolean
return ReflectionClassMethod

hasConst() public method

public hasConst ( string $name, boolean $inherit = false ) : boolean
$name string
$inherit boolean
return boolean

hasMethod() public method

public hasMethod ( string $name, boolean | false $inherit = false ) : boolean
$name string
$inherit boolean | false
return boolean

hasProperty() public method

public hasProperty ( $name, boolean $inherit = false ) : boolean
$name
$inherit boolean
return boolean

isAbstract() public method

public isAbstract ( ) : boolean
return boolean

Property Details

$reflection protected_oe property

protected ReflectionClass $reflection
return ReflectionClass