'Incomplete', self::Complete => 'Complete', }; } /** * Check if file is complete. */ public function isComplete(): bool { return $this === self::Complete; } }