PHP Class PHPSA\Definition\ReflectionClassMethod

Inheritance: extends ClassMethod
Show file Open project: ovr/phpsa

Protected Properties

Property Type Description
$possibleReturnValues array Array of possible return values
$reflection ReflectionMethod
$returnType integer Return type

Public Methods

Method Description
__construct ( ReflectionMethod $reflection ) ReflectionClassMethod constructor.
compile ( Context $context ) : ReflectionClassMethod
getName ( ) : string
isAbstract ( ) : boolean
isPrivate ( ) : boolean
isProtected ( ) : boolean
isPublic ( ) : boolean
isStatic ( ) : boolean

Method Details

__construct() public method

ReflectionClassMethod constructor.
public __construct ( ReflectionMethod $reflection )
$reflection ReflectionMethod

compile() public method

public compile ( Context $context ) : ReflectionClassMethod
$context PHPSA\Context
return ReflectionClassMethod

getName() public method

public getName ( ) : string
return string

isAbstract() public method

public isAbstract ( ) : boolean
return boolean

isPrivate() public method

public isPrivate ( ) : boolean
return boolean

isProtected() public method

public isProtected ( ) : boolean
return boolean

isPublic() public method

public isPublic ( ) : boolean
return boolean

isStatic() public method

public isStatic ( ) : boolean
return boolean

Property Details

$possibleReturnValues protected property

Array of possible return values
protected array $possibleReturnValues
return array

$reflection protected property

protected ReflectionMethod $reflection
return ReflectionMethod

$returnType protected property

Return type
protected int $returnType
return integer