'wie die übrige Bearbeitung', self::Automatic => 'automatisch erstellen und an den Gast senden', self::Manual => 'von Hand prüfen und senden', self::Internal => 'erstellen und nur intern ablegen (nicht senden)', }; } /** The mode as the document step sees it: automatic when the case is processed automatically or the delivery says so. */ public function sendsAutomatically(ProcessingMode $processing): bool { return match ($this) { self::Follow => $processing === ProcessingMode::Automatic, self::Automatic => true, self::Manual, self::Internal => false, }; } }