EntityRelationshipNode
extends GraphNode
in package
FinalYes
Tags
Table of Contents
Properties
- $id : string
- $name : string|int
- $relationships : ArrayObject
- $schema : ISchema
- $hashCode : int
- $hashCounter : int
Methods
- __call() : mixed
- __callStatic() : mixed
- __construct() : mixed
- __destruct() : mixed
- __get() : mixed
- addRelationship() : mixed
- extends() : bool
- getId() : string
- getName() : string|int|float
- getReflection() : ReflectionClass
- getRelationships() : ArrayObject
- getSchema() : ISchema
- init() : mixed
- setName() : void
- setSchema() : void
Properties
$id
protected
string
$id
$name
protected
string|int
$name
$relationships
protected
ArrayObject
$relationships
$schema
protected
ISchema
$schema
$hashCode
private
int
$hashCode
$hashCounter
private
static int
$hashCounter
= 0
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, string $name) : mixed
Parameters
- $schema : ISchema
- $name : string
__destruct()
public
__destruct() : mixed
__get()
public
__get(string $property) : mixed
Parameters
- $property : string
addRelationship()
public
addRelationship(IEntityRelationship $relationship) : mixed
Parameters
- $relationship : IEntityRelationship
Tags
extends()
public
extends(ReflectionClass $reflector) : bool
Parameters
- $reflector : ReflectionClass
Return values
boolgetId()
public
getId() : string
Tags
Return values
stringgetName()
public
getName() : string|int|float
Tags
Return values
string|int|floatgetReflection()
public
getReflection() : ReflectionClass
Return values
ReflectionClassgetRelationships()
public
getRelationships() : ArrayObject
Tags
Return values
ArrayObjectgetSchema()
public
getSchema() : ISchema
Return values
ISchemainit()
protected
init() : mixed
setName()
private
setName(string $name) : void
Parameters
- $name : string
setSchema()
private
setSchema(ISchema $schema) : void
Parameters
- $schema : ISchema