Method | Description | |
---|---|---|
__construct ( |
||
__toString ( ) : string | ||
alternateGenerator ( |
||
defaultConstructorForClassInContext ( |
||
fromNode ( |
||
getFQSEN ( ) : |
||
getIsMagic ( ) : boolean | ||
getIsMagicCall ( ) : boolean | ||
getIsMagicCallStatic ( ) : boolean | ||
getIsMagicGet ( ) : boolean | ||
getIsMagicSet ( ) : boolean | ||
getOverriddenMethod ( |
||
getUnionType ( ) : |
||
isAbstract ( ) : boolean | ||
returnsRef ( ) : boolean |
public __construct ( |
||
$context | The context in which the structural element lives | |
$name | string | |
$type | ||
$flags | integer | |
$fqsen | A fully qualified name for the element |
public __toString ( ) : string | ||
return | string | A string representation of this method signature |
public alternateGenerator ( |
||
$code_base | ||
return | Generator | The set of all alternates to this method |
public static defaultConstructorForClassInContext ( |
||
$clazz | ||
$context | ||
$code_base | ||
return | A default constructor for the given class |
public static fromNode ( |
||
$context | The context in which the node appears | |
$code_base | ||
$node | ast\Node\Decl | An AST node representing a method |
$fqsen | ||
return | A Method representing the AST node in the given context |
public getFQSEN ( ) : |
||
return |
public getIsMagic ( ) : boolean | ||
return | boolean | True if this is a magic method |
public getIsMagicCall ( ) : boolean | ||
return | boolean | True if this is the magic `__call` method |
public getIsMagicCallStatic ( ) : boolean | ||
return | boolean | True if this is the magic `__callStatic` method |
public getIsMagicGet ( ) : boolean | ||
return | boolean | True if this is the magic `__get` method |
public getIsMagicSet ( ) : boolean | ||
return | boolean | True if this is the magic `__set` method |
public getOverriddenMethod ( |
||
$code_base | The code base with which to look for classes | |
return | Phan\Language\Element\ClassElement | The Method that this Method is overriding |
public getUnionType ( ) : |
||
return | The type of this method in its given context. |
public isAbstract ( ) : boolean | ||
return | boolean | True if this is an abstract method |
public returnsRef ( ) : boolean | ||
return | boolean | True if this method returns reference |