ScheduleRequest
extends PlanRequest
in package
FinalYes
Immutable request for one planning-oriented schedule computation.
Table of Contents
Properties
- $flow : Flow
- $originTime : int
- $params : array<string, string>
- $quantity : int|float
- $space : SlotSpace
- $startTime : int
- $state : QuantityState
- $target : Slot
Methods
- __construct() : mixed
- Create one schedule-planning request.
Properties
$flow read-only
public
Flow
$flow
$originTime read-only
public
int
$originTime
$params read-only
public
array<string, string>
$params
$quantity read-only
public
int|float
$quantity
$space read-only
public
SlotSpace
$space
$startTime read-only
public
int
$startTime
$state read-only
public
QuantityState
$state
$target read-only
public
Slot
$target
Methods
__construct()
Create one schedule-planning request.
public
__construct(QuantityState $state, SlotSpace $space, Flow|non-empty-string $flow, int|float $quantity, Slot|non-empty-string $target[, DateTimeImmutable|int|string $startTime = 0 ][, array<string, scalar|null> $params = [] ]) : mixed
Parameters
- $state : QuantityState
- $space : SlotSpace
- $flow : Flow|non-empty-string
- $quantity : int|float
- $target : Slot|non-empty-string
- $startTime : DateTimeImmutable|int|string = 0
- $params : array<string, scalar|null> = []