Method | Description | |
---|---|---|
__clone ( ) : null | After a clone is called on this object, clone our type and fqsen so that they survive copies intact | |
__construct ( |
||
getContext ( ) : |
||
getFileRef ( ) : |
||
getFlags ( ) : integer | ||
getName ( ) : string | ||
getPhanFlags ( ) : integer | ||
getSuppressIssueList ( ) : array | ||
getUnionType ( ) : |
||
getVariadicElementUnionType ( ) : |
Variables can't be variadic. This is the same as getUnionType for variables, but not necessarily for subclasses. Method will return the element type (such as DateTime) for variadic parameters. | |
hasSuppressIssue ( string $issue_name ) : boolean | return bool True if this element would like to suppress the given issue name | |
hydrate ( |
This method must be called before analysis begins. | |
isDeprecated ( ) : boolean | ||
isInternal ( ) : boolean | ||
setFlags ( integer $flags ) : void | ||
setIsDeprecated ( boolean $is_deprecated ) : void | ||
setPhanFlags ( integer $phan_flags ) : void | ||
setSuppressIssueList ( array $suppress_issue_list ) : void | ||
setUnionType ( |
Method | Description | |
---|---|---|
hydrateOnce ( |
This method must be called before analysis begins. |
Method | Description | |
---|---|---|
setIsInternal ( boolean $is_internal ) : void |
public __construct ( |
||
$context | The context in which the structural element lives | |
$name | string | |
$type | ||
$flags | integer |
public getContext ( ) : |
||
return | The context in which this structural element exists |
public getFileRef ( ) : |
||
return | A reference to where this element was found |
public getUnionType ( ) : |
||
return | Get the type of this structural element |
public getVariadicElementUnionType ( ) : |
||
return |
public hasSuppressIssue ( string $issue_name ) : boolean | ||
$issue_name | string | |
return | boolean |
protected hydrateOnce ( |
||
$code_base | ||
return | void |
public isDeprecated ( ) : boolean | ||
return | boolean | True if this element is marked as deprecated |
public isInternal ( ) : boolean | ||
return | boolean | True if this was an internal PHP object |
public setIsDeprecated ( boolean $is_deprecated ) : void | ||
$is_deprecated | boolean | Set this element as deprecated |
return | void |
public setPhanFlags ( integer $phan_flags ) : void | ||
$phan_flags | integer | |
return | void |
public setSuppressIssueList ( array $suppress_issue_list ) : void | ||
$suppress_issue_list | array | Set the set of issue names to suppress |
return | void |
public setUnionType ( |
||
$type | Set the type of this element | |
return | void |