TimedMovementEdge
in package
FinalYes
One directed movement edge between two timed slots.
Table of Contents
Properties
- $attributes : array<string|int, mixed>
- $baseEdge : MovementEdge|null
- $from : TimedSlot
- $label : string|null
- $to : TimedSlot
Methods
- __construct() : mixed
- Create one directed edge between two timed slots, optionally linked to its base edge.
- __toString() : string
- Return a readable edge representation using timed slot keys.
- plannerRules() : array<int, PlannerRuleInterface>
- Return all planner rules declared on the underlying edge.
- policies() : array<int, PolicyInterface>
- Return all declared policies attached to the underlying edge.
- shipmentCalendarRules() : array<int, ShipmentCalendarRuleInterface>
- Return shipment calendar rules declared on the underlying edge.
Properties
$attributes read-only
public
array<string|int, mixed>
$attributes
= []
$baseEdge read-only
public
MovementEdge|null
$baseEdge
= null
$from read-only
public
TimedSlot
$from
$label read-only
public
string|null
$label
= null
$to read-only
public
TimedSlot
$to
Methods
__construct()
Create one directed edge between two timed slots, optionally linked to its base edge.
public
__construct(TimedSlot $from, TimedSlot $to[, MovementEdge|null $baseEdge = null ][, string|null $label = null ][, array<string|int, mixed> $attributes = [] ]) : mixed
Parameters
- $from : TimedSlot
- $to : TimedSlot
- $baseEdge : MovementEdge|null = null
- $label : string|null = null
- $attributes : array<string|int, mixed> = []
__toString()
Return a readable edge representation using timed slot keys.
public
__toString() : string
Return values
stringplannerRules()
Return all planner rules declared on the underlying edge.
public
plannerRules() : array<int, PlannerRuleInterface>
Return values
array<int, PlannerRuleInterface>policies()
Return all declared policies attached to the underlying edge.
public
policies() : array<int, PolicyInterface>
Return values
array<int, PolicyInterface>shipmentCalendarRules()
Return shipment calendar rules declared on the underlying edge.
public
shipmentCalendarRules() : array<int, ShipmentCalendarRuleInterface>