in src/Apache/Ignite/Internal/Binary/BinaryObjectField.php [37:47]
public function __construct(?string $name, $value = null, $type = null)
{
$this->name = $name;
$this->id = BinaryField::calculateId($name);
$this->value = $value;
$this->type = $type;
if (!$type && $value !== null) {
$this->type = BinaryUtils::calcObjectType($value);
}
$this->typeCode = $this->type ? BinaryUtils::getTypeCode($this->type) : 0;
}