__( 'Pending', 'shiftora' ), self::Active => __( 'Active', 'shiftora' ), self::Revoked => __( 'Revoked', 'shiftora' ), }; } /** Returns the CSS badge variant class for this status. */ public function badge_variant(): string { return match ( $this ) { self::Pending => 'warning', self::Active => 'primary', self::Revoked => 'danger', }; } }