PHP Phan\Language\Element Namespace

Interfaces

Name Description
AddressableElementInterface
FunctionInterface Interface defining the behavior of both Methods and Functions
TypedElementInterface Any PHP structural element that also has a type and is addressable such as a class, method, closure, property, constant, variable, .

Classes

Name Description
AddressableElement
Clazz
Flags
Func
Method
Parameter
PassByReferenceVariable This class wraps a parameter and a variable and proxies calls to the variable but keeps the name of the parameter allowing us to pass a variable into a method as a pass-by-reference parameter so that its value can be updated when re-analyzing the method.
TypedElement Any PHP structural element that also has a type and is addressable such as a class, method, closure, property, constant, variable, .
Variable

Traits

Name Description
ConstantTrait
FunctionTrait