\Pho\Framework\CargoOutgoingEdgeCargo

Holds variables in regards to outgoing 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()
$formative_labels
$formative_label_class_pairs
$formative_patterns
$setter_labels
$setter_classes
$setter_label_settable_pairs
$classes
$labels
$label_class_pairs
$singularLabels
$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

$formative_labels

$formative_labels : array

Formative Labels of Outgoing Edges

A simple array of edge names

Type

array — Edge Labels

$formative_label_class_pairs

$formative_label_class_pairs : array

Formative Classes of Outgoing Edges

An array of edge labels as key and associated edge class name as value. Both in string format.

Type

array — Edge Label => Edge Class

$formative_patterns

$formative_patterns : array

Arguments that match with each formative edge out.

In regular expression format.

Type

array — Edge label as key, arguments pattern as value

$setter_labels

$setter_labels : array

Setter Labels of Outgoing Edges

A simple array of edge names

Type

array — Edge Labels

$setter_classes

$setter_classes : array

Setter Classes of Outgoing Edges

An array of edge labels as key and associated edge class name as value. Both in string format.

Type

array — Edge Label => Edge Class

$setter_label_settable_pairs

$setter_label_settable_pairs : array

Class Associations for Outgoing Edges

An array of particle types that can be set by this particle's outgoing edges. Edge labels (string) as key, settables as array.

Type

array — Edge Label => Settable Node Classes

$classes

$classes : array

Type

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

$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.

$singularLabels

$singularLabels : array

Type

array — An array of singular labels in string format.

$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