MovementEdge
in package
FinalYes
One directed movement edge between two slots.
Table of Contents
Properties
Methods
- __construct() : mixed
- Create a directed edge between two slots.
- __toString() : string
- Return a readable `(from) -> (to)` representation of the edge.
- meta() : self
- Create a copy of the edge with merged metadata.
- plannerRules() : array<int, PlannerRuleInterface>
- Return all planner rules declared on the edge.
- policies() : array<int, PolicyInterface>
- Return all declared policies attached to the edge.
- shipmentCalendarRules() : array<int, ShipmentCalendarRuleInterface>
- Return shipment calendar rules declared on the edge.
Properties
$attributes read-only
public
array<string|int, mixed>
$attributes
= []
$from read-only
public
Slot
$from
$label read-only
public
string|null
$label
= null
$to read-only
public
Slot
$to
Methods
__construct()
Create a directed edge between two slots.
public
__construct(Slot $from, Slot $to[, string|null $label = null ][, array<string|int, mixed> $attributes = [] ]) : mixed
Parameters
__toString()
Return a readable `(from) -> (to)` representation of the edge.
public
__toString() : string
Return values
stringmeta()
Create a copy of the edge with merged metadata.
public
meta(array<string|int, mixed> $attributes) : self
Parameters
- $attributes : array<string|int, mixed>
Return values
selfplannerRules()
Return all planner rules declared on the edge.
public
plannerRules() : array<int, PlannerRuleInterface>
Return values
array<int, PlannerRuleInterface>policies()
Return all declared policies attached to the edge.
public
policies() : array<int, PolicyInterface>
Return values
array<int, PolicyInterface>shipmentCalendarRules()
Return shipment calendar rules declared on the edge.
public
shipmentCalendarRules() : array<int, ShipmentCalendarRuleInterface>