'Draft', self::Completed => 'Completed', self::Cancelled => 'Cancelled', }; } public function isResumable(): bool { return $this === self::Draft; } }