bValue = $bValue; } public function IsTrue(): bool { return $this->bValue; } public function __toString(): string { return $this->bValue ? 'true' : 'false'; } public function jsonSerialize(): mixed { return $this->bValue; } public static function IsCompatible(string $sOtherFormatClass): bool { return is_a($sOtherFormatClass, BooleanIOFormat::class, true) || is_a($sOtherFormatClass, RawFormat::class, true); } }