Skip to content
Corex

ModeChangeRequest

Corex\Config\Operations\ModeChangeRequest · class · Config layer

One request to change the operations mode (spec 101): which mode, who is asking, when, and what they confirmed. It carries both kinds of confirmation because the caller does not know which one the mode needs — {@see ModeChangeService} does, and ignores the other.

__construct(string $mode, int $actorId, DateTimeImmutable $now, bool $acknowledged, string $phrase)

Section titled “__construct(string $mode, int $actorId, DateTimeImmutable $now, bool $acknowledged, string $phrase)”