'keine eigene Buchungsinformation', self::Automatic => 'automatisch senden', self::AutomaticUnlessPortalConfirmed => 'automatisch senden – außer das Portal hat nachweislich bestätigt', self::Manual => 'von Hand senden', }; } public function isAutomatic(): bool { return in_array($this, [self::Automatic, self::AutomaticUnlessPortalConfirmed], true); } }