'Rabatt in %', self::AmountPerStay => 'Rabatt in € pro Aufenthalt', self::NightlyRate => 'Sonderpreis pro Nacht', self::FreeNights => 'Gratis-Nächte', self::FixedStayPrice => 'Pauschalpreis für den Aufenthalt', }; } public function isMoney(): bool { return in_array($this, [self::AmountPerStay, self::NightlyRate, self::FixedStayPrice], true); } }