MethodReflectionExtension
implements
MethodsClassReflectionExtension
Interfaces, Classes and Traits
- MethodsClassReflectionExtension
Table of Contents
-
SUPPORTED_CLASSES
= [phpDocumentorGraphVizNode::class => 'node', phpDocumentorGraphVizGraph::class => 'graph', phpDocumentorGraphVizEdge::class => 'edge']
-
getMethod()
: MethodReflection
-
hasMethod()
: bool
-
getAttributeFromMethodName()
: string
-
getAttributeInputType()
: Type
-
getAttributesXmlDoc()
: SimpleXMLElement
-
getMethodsFromSpec()
: array<string|int, string>
SUPPORTED_CLASSES
private
mixed
SUPPORTED_CLASSES
= [phpDocumentorGraphVizNode::class => 'node', phpDocumentorGraphVizGraph::class => 'graph', phpDocumentorGraphVizEdge::class => 'edge']
getMethod()
public
getMethod(ClassReflection $classReflection, string $methodName) : MethodReflection
Parameters
-
$classReflection
: ClassReflection
-
-
$methodName
: string
-
Return values
MethodReflection
—
hasMethod()
public
hasMethod(ClassReflection $classReflection, string $methodName) : bool
Parameters
-
$classReflection
: ClassReflection
-
-
$methodName
: string
-
Return values
bool
—
getAttributeFromMethodName()
private
getAttributeFromMethodName(string $methodName) : string
Parameters
-
$methodName
: string
-
Return values
string
—
private
getAttributeInputType(string $ref) : Type
Parameters
-
$ref
: string
-
Return values
Type
—
getAttributesXmlDoc()
private
getAttributesXmlDoc() : SimpleXMLElement
Return values
SimpleXMLElement
—
getMethodsFromSpec()
private
getMethodsFromSpec(string $className) : array<string|int, string>
Parameters
-
$className
: string
-
Return values
array<string|int, string>
—