enum = $enum; } /** * @param StatusEnum $enum * @return bool */ public function is(StatusEnum $enum): bool { return $this->enum == $enum; } }