\Pho\Framework\CargoIncomingEdgeCargo

Holds variables in regards to incoming edges of a particle

This helper class' variables are set at construction of a particle, then accessed by handlers.

The variables are public, but the class shall be kept in a protected variable within the shell class, hence, not exposed to end-users.

Summary

Methods
Properties
Constants
__construct()
$classes
$singularLabels
$labels
$label_class_pairs
$singularLabel_class_pairs
$callable_edge_labels
$callable_edge_label_class_pairs
$callable_edge_singularLabels
$callable_edge_singularLabel_class_pairs
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$classes

$classes : array

Incoming Edges

Lists edges that are directed towards this node. Initiliazed at construction, and never modified again.

Type

array — An array of class names (with their namespaces)

$singularLabels

$singularLabels : array

"Has" Labels of Incoming Edges

A simple array of tail labels of incoming edges in singular. Tail labels in string format.

Stored camelized.

Type

array — An array of singular labels in string format.

$labels

$labels : array

Getter Labels of Incoming Edges

A simple array of tail labels of incoming edges in plural. Tail labels in string format.

Stored camelized.

Type

array — An array of plural labels in string format.

$label_class_pairs

$label_class_pairs : array

Getter Classes of Incoming Edges

An array of tail labels of incoming edges in plural as key and associated class name as value.

Both in string format. Keys are camelized.

Type

array — An array of plural labels as key, and edge class names as value.

$singularLabel_class_pairs

$singularLabel_class_pairs : array

"Has" Classes of Incoming Edges

An array of tail labels of incoming edges in singular as key and associated class name as value.

Both in string format. Keys are camelized.

Type

array — An array of singular labels as key, and edge class names as value.

$callable_edge_labels

$callable_edge_labels : array

Callable edges (in plural format)

Some edges may be callable directly by the particle. This is an array of the labels of such edges, in plural format.

Stored camelized.

Type

array

$callable_edge_label_class_pairs

$callable_edge_label_class_pairs : array

Callable edges (in plural) / classes

Some edges may be callable directly by the particle. This is an array of the labels of such edges, in plural format as key, and the class names as value.

Keys are camelized.

Type

array

$callable_edge_singularLabels

$callable_edge_singularLabels : array

Callable edges (in singular format)

Some edges may be callable directly by the particle. This is an array of the labels of such edges, in singular format.

Stored camelized.

Type

array

$callable_edge_singularLabel_class_pairs

$callable_edge_singularLabel_class_pairs : array

Callable edges (in singular) / classes

Some edges may be callable directly by the particle. This is an array of the labels of such edges, in singular format as key, and the class names as value.

Keys are camelized.

Type

array

Methods

__construct()

__construct(array  $edges = array()) 

Constructor

Parameters

array $edges
Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/emresokullu/Code/website/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/emresokullu/Code/website/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275