\Pho\Framework\CargoAbstractEdgeCargo

An edge cargo class holds variables in regards to particle edges.

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

Type

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

$singularLabels

$singularLabels : array

Type

array — An array of singular labels in string format.

$labels

$labels : array

Type

array — An array of plural labels in string format.

$label_class_pairs

$label_class_pairs : array

Type

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

$singularLabel_class_pairs

$singularLabel_class_pairs : array

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