Doctrine\Common\Reflection\StaticReflectionMethod
Synopsis
class StaticReflectionMethod
extends ReflectionMethod
{
- // Inherited constants from ReflectionMethod
- const IS_STATIC = 1;
- const IS_PUBLIC = 256;
- const IS_PROTECTED = 512;
- const IS_PRIVATE = 1024;
- const IS_ABSTRACT = 2;
- const IS_FINAL = 4;
- // members
- protected StaticReflectionParser $staticReflectionParser;
- protected string $methodName;
- // methods
- public void __construct()
- public void getName()
- protected void getStaticReflectionParser()
- public void getDeclaringClass()
- public void getNamespaceName()
- public void getDocComment()
- public void getUseStatements()
- public static void export()
- public void getClosure()
- public void getModifiers()
- public void getPrototype()
- public void invoke()
- public void invokeArgs()
- public void isAbstract()
- public void isConstructor()
- public void isDestructor()
- public void isFinal()
- public void isPrivate()
- public void isProtected()
- public void isPublic()
- public void isStatic()
- public void setAccessible()
- public void __toString()
- public void getClosureThis()
- public void getEndLine()
- public void getExtension()
- public void getExtensionName()
- public void getFileName()
- public void getNumberOfParameters()
- public void getNumberOfRequiredParameters()
- public void getParameters()
- public void getShortName()
- public void getStartLine()
- public void getStaticVariables()
- public void inNamespace()
- public void isClosure()
- public void isDeprecated()
- public void isInternal()
- public void isUserDefined()
- public void returnsReference()
- // Inherited methods from ReflectionMethod
- public void __construct()
- public string export()
- public Closure getClosure()
- public ReflectionClass getDeclaringClass()
- public int getModifiers()
- public ReflectionMethod getPrototype()
- public mixed invoke()
- public mixed invokeArgs()
- public bool isAbstract()
- public bool isConstructor()
- public bool isDestructor()
- public bool isFinal()
- public bool isPrivate()
- public bool isProtected()
- public bool isPublic()
- public bool isStatic()
- public void setAccessible()
- public string __toString()
- public ReflectionClass getClosureScopeClass()
- public getClosureThis()
- public string getDocComment()
- public int getEndLine()
- public ReflectionExtension getExtension()
- public string getExtensionName()
- public string getFileName()
- public string getName()
- public string getNamespaceName()
- public int getNumberOfParameters()
- public int getNumberOfRequiredParameters()
- public array getParameters()
- public string getShortName()
- public int getStartLine()
- public array getStaticVariables()
- public bool inNamespace()
- public bool isClosure()
- public bool isDeprecated()
- public bool isGenerator()
- public bool isInternal()
- public bool isUserDefined()
- public bool returnsReference()
- public void __toString()
Hierarchy
Extends
Constants
Name | Value |
---|---|
IS_STATIC | 1 |
IS_PUBLIC | 256 |
IS_PROTECTED | 512 |
IS_PRIVATE | 1024 |
IS_ABSTRACT | 2 |
IS_FINAL | 4 |
Members
protected
- $methodName
—
string
The name of the method. - $staticReflectionParser
—
Doctrine\Common\Reflection\StaticReflectionParser
The PSR-0 parser object.
public
-
$class
Class name -
$name
Method name
Methods
protected
public
- __construct()
- __toString()
- export()
- getClosure()
- getClosureThis()
- getDeclaringClass()
- getDocComment()
- getEndLine()
- getExtension()
- getExtensionName()
- getFileName()
- getModifiers()
- getName()
- getNamespaceName()
- getNumberOfParameters()
- getNumberOfRequiredParameters()
- getParameters()
- getPrototype()
- getShortName()
- getStartLine()
- getStaticVariables()
- getUseStatements()
- inNamespace()
- invoke()
- invokeArgs()
- isAbstract()
- isClosure()
- isConstructor()
- isDeprecated()
- isDestructor()
- isFinal()
- isInternal()
- isPrivate()
- isProtected()
- isPublic()
- isStatic()
- isUserDefined()
- returnsReference()
- setAccessible()
Inherited from ReflectionMethod
public
- __toString() — Returns the string representation of the Reflection method object.
- __toString()
- export() — Export a reflection method.
- getClosure() — Returns a dynamically created closure for the method
- getClosureScopeClass()
- getClosureThis()
- getDeclaringClass() — Gets declaring class for the reflected method.
- getDocComment()
- getEndLine()
- getExtension()
- getExtensionName()
- getFileName()
- getModifiers() — Gets the method modifiers
- getName()
- getNamespaceName()
- getNumberOfParameters()
- getNumberOfRequiredParameters()
- getParameters()
- getPrototype() — Gets the method prototype (if there is one).
- getShortName()
- getStartLine()
- getStaticVariables()
- inNamespace()
- invoke() — Invoke
- invokeArgs() — Invoke args
- isAbstract() — Checks if method is abstract
- isClosure()
- isConstructor() — Checks if method is a constructor
- isDeprecated()
- isDestructor() — Checks if method is a destructor
- isFinal() — Checks if method is final
- isGenerator()
- isInternal()
- isPrivate() — Checks if method is private
- isProtected() — Checks if method is protected
- isPublic() — Checks if method is public
- isStatic() — Checks if method is static
- isUserDefined()
- returnsReference()
- setAccessible() — Set method accessibility