Documentation

ServiceReferenceGraphNode
in package

Represents a node in your service graph.

Value is typically a definition, or an alias.

Tags
author

Johannes M. Schmitt schmittjoh@gmail.com

Table of Contents

$id  : mixed
$inEdges  : mixed
$outEdges  : mixed
$value  : mixed
__construct()  : mixed
addInEdge()  : mixed
addOutEdge()  : mixed
clear()  : mixed
Clears all edges.
getId()  : string
Returns the identifier.
getInEdges()  : array<string|int, ServiceReferenceGraphEdge>
Returns the in edges.
getOutEdges()  : array<string|int, ServiceReferenceGraphEdge>
Returns the out edges.
getValue()  : mixed
Returns the value of this Node.
isAlias()  : bool
Checks if the value of this node is an Alias.
isDefinition()  : bool
Checks if the value of this node is a Definition.

Properties

Methods

__construct()

public __construct(string $id, mixed $value) : mixed
Parameters
$id : string

The node identifier

$value : mixed

The node value

Return values
mixed

isDefinition()

Checks if the value of this node is a Definition.

public isDefinition() : bool
Return values
bool

Search results