PHP Class PHPSA\ScopePointer

Afficher le fichier Open project: ovr/phpsa Class Usage Examples

Protected Properties

Свойство Type Description
$object PHPSA\Definition\ClassMethod | PHPSA\Definition\FunctionDefinition

Méthodes publiques

Méthode Description
__construct ( $object ) Initializes the scopePointer with an object
getObject ( ) : ClassMethod | FunctionDefinition Returns the object.
isClassMethod ( ) : boolean Is the object a class method?
isFunction ( ) : boolean Is the object a function?

Method Details

__construct() public méthode

Initializes the scopePointer with an object
public __construct ( $object )
$object

getObject() public méthode

Returns the object.
public getObject ( ) : ClassMethod | FunctionDefinition
Résultat PHPSA\Definition\ClassMethod | PHPSA\Definition\FunctionDefinition

isClassMethod() public méthode

Is the object a class method?
public isClassMethod ( ) : boolean
Résultat boolean

isFunction() public méthode

Is the object a function?
public isFunction ( ) : boolean
Résultat boolean

Property Details

$object protected_oe property

protected ClassMethod,PHPSA\Definition|FunctionDefinition,PHPSA\Definition $object
Résultat PHPSA\Definition\ClassMethod | PHPSA\Definition\FunctionDefinition