Macro
class Macro implements MethodReflection
Methods
Create a macro method reflection.
Return the class the macro is registered on.
Determine whether the macro is private.
Determine whether the macro is public.
Determine whether the macro is final.
Determine whether the macro is internal.
Determine whether the macro is called statically.
Set the is static value.
Return the macro docblock.
Return the macro name.
Determine whether the macro is deprecated.
Return the macro prototype.
Return the macro's variant, built from its callable.
Return the macro's deprecation description.
Return the exception type a known framework macro throws.
Determine whether the macro has side effects.
Details
at line 42
__construct(ClassReflection $classReflection, string $methodName, ClosureType $closureType)
Create a macro method reflection.
at line 49
ClassReflection
getDeclaringClass()
Return the class the macro is registered on.
at line 57
bool
isPrivate()
Determine whether the macro is private.
at line 65
bool
isPublic()
Determine whether the macro is public.
at line 73
TrinaryLogic
isFinal()
Determine whether the macro is final.
at line 81
TrinaryLogic
isInternal()
Determine whether the macro is internal.
at line 89
bool
isStatic()
Determine whether the macro is called statically.
at line 97
void
setIsStatic(bool $isStatic)
Set the is static value.
at line 105
string|null
getDocComment()
Return the macro docblock.
at line 113
string
getName()
Return the macro name.
at line 121
TrinaryLogic
isDeprecated()
Determine whether the macro is deprecated.
at line 129
ClassMemberReflection
getPrototype()
Return the macro prototype.
at line 137
array
getVariants()
Return the macro's variant, built from its callable.
at line 151
string|null
getDeprecatedDescription()
Return the macro's deprecation description.
at line 159
Type|null
getThrowType()
Return the exception type a known framework macro throws.
at line 172
TrinaryLogic
hasSideEffects()
Determine whether the macro has side effects.