ClassDiagramNodeTransformer
in package
implements
NodeTransformer
FinalYes
Table of Contents
Interfaces
- NodeTransformer
Properties
Methods
- __construct() : mixed
- enterNode() : Node
- getPriority() : int
- leaveNode() : Node|null
- supports() : bool
- classDescriptor() : Generator
- getNamespace() : string
- toClassName() : string
Properties
$queryEngine read-only
private
Engine
$queryEngine
Methods
__construct()
public
__construct(Engine $queryEngine) : mixed
Parameters
- $queryEngine : Engine
enterNode()
public
enterNode(Node $node, CompilerContext $compilerContext) : Node
Parameters
- $node : Node
- $compilerContext : CompilerContext
Return values
NodegetPriority()
public
getPriority() : int
Return values
intleaveNode()
public
leaveNode(Node $node, CompilerContext $compilerContext) : Node|null
Parameters
- $node : Node
- $compilerContext : CompilerContext
Return values
Node|nullsupports()
public
supports(Node $node) : bool
Parameters
- $node : Node
Return values
boolclassDescriptor()
private
classDescriptor(ClassInterface $class) : Generator
Parameters
- $class : ClassInterface
Return values
GeneratorgetNamespace()
private
getNamespace(Fqsen $fqsen) : string
Parameters
- $fqsen : Fqsen
Return values
stringtoClassName()
private
toClassName(string $parentFqsen) : string
Parameters
- $parentFqsen : string