Documentation

MethodReflectionExtension
in package
implements MethodsClassReflectionExtension

FinalYes

Table of Contents

Interfaces

MethodsClassReflectionExtension

Constants

SUPPORTED_CLASSES  = [\phpDocumentor\GraphViz\Node::class => 'node', \phpDocumentor\GraphViz\Graph::class => 'graph', \phpDocumentor\GraphViz\Edge::class => 'edge']

Methods

getMethod()  : MethodReflection
hasMethod()  : bool
getAttributeFromMethodName()  : string
getAttributeInputType()  : Type
getAttributesXmlDoc()  : SimpleXMLElement
getMethodsFromSpec()  : array<string|int, string>

Constants

SUPPORTED_CLASSES

private mixed SUPPORTED_CLASSES = [\phpDocumentor\GraphViz\Node::class => 'node', \phpDocumentor\GraphViz\Graph::class => 'graph', \phpDocumentor\GraphViz\Edge::class => 'edge']

Methods

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

getAttributeInputType()

private getAttributeInputType(string $ref) : Type
Parameters
$ref : string
Return values
Type

getMethodsFromSpec()

private getMethodsFromSpec(string $className) : array<string|int, string>
Parameters
$className : string
Return values
array<string|int, string>

        
On this page

Search results