DispatchCalendarInterface
in
Adjusts the earliest dispatch time for a timed movement edge.
Table of Contents
Methods
- dispatchTime() : int
- Return the earliest allowed dispatch time for the given edge and timed context.
Methods
dispatchTime()
Return the earliest allowed dispatch time for the given edge and timed context.
public
dispatchTime(MovementEdge $edge, TimedDurationContext $context) : int
Implementations may enforce cutoffs, weekends, holidays, or carrier- and warehouse-specific schedules.
The returned value must be greater than or equal to TimedDurationContext::$earliestDispatchTime.
Parameters
- $edge : MovementEdge
- $context : TimedDurationContext