EntityRelationshipGraph
extends EntityRelationshipGraph
in package
Tags
Table of Contents
Properties
- $schema : ISchema
- $hashCode : int
- $hashCounter : int
- $map : array<string|int, mixed>
- A map of the nodes within this graph for index access of them
Methods
- __call() : mixed
- __callStatic() : mixed
- __construct() : mixed
- __destruct() : mixed
- __get() : mixed
- add() : mixed
- Adds a node to this tree
- count() : int
- {@inheritdoc}
- extends() : bool
- find() : IGraphNode|null
- getMap() : array<string|int, mixed>
- getReflection() : ReflectionClass
- getSchema() : ISchema
- save() : mixed
- {@inheritdoc}
- init() : mixed
- {@inheritdoc}
- setSchema() : mixed
Properties
$schema
protected
ISchema
$schema
$hashCode
private
int
$hashCode
$hashCounter
private
static int
$hashCounter
= 0
$map
A map of the nodes within this graph for index access of them
private
array<string|int, mixed>
$map
= []
Methods
__call()
public
__call(string $method, array<string|int, mixed> $arguments) : mixed
Parameters
- $method : string
- $arguments : array<string|int, mixed>
Tags
__callStatic()
public
static __callStatic(mixed $method, array<string|int, mixed> $arguments) : mixed
Parameters
- $method : mixed
- $arguments : array<string|int, mixed>
__construct()
public
__construct(ISchema $schema) : mixed
Parameters
- $schema : ISchema
__destruct()
public
__destruct() : mixed
__get()
public
__get(string $property) : mixed
Parameters
- $property : string
add()
Adds a node to this tree
public
add(IGraphNode $node) : mixed
Parameters
- $node : IGraphNode
Tags
count()
{@inheritdoc}
public
count() : int
Tags
Return values
intextends()
public
extends(ReflectionClass $reflector) : bool
Parameters
- $reflector : ReflectionClass
Return values
boolfind()
public
& find(string $node_name) : IGraphNode|null
Parameters
- $node_name : string
Tags
Return values
IGraphNode|null —An instance of IGraphNode if the node was found in the graph, null otherwise
getMap()
public
getMap() : array<string|int, mixed>
Return values
array<string|int, mixed>getReflection()
public
getReflection() : ReflectionClass
Return values
ReflectionClassgetSchema()
public
getSchema() : ISchema
Tags
Return values
ISchemasave()
{@inheritdoc}
public
save() : mixed
Tags
init()
{@inheritdoc}
protected
init() : mixed
Tags
setSchema()
private
setSchema(ISchema $schema) : mixed
Parameters
- $schema : ISchema