public function getType()

in src/Apache/Ignite/Internal/Binary/BinaryTypeStorage.php [52:62]


    public function getType(int $typeId, int $schemaId = null): ?BinaryType
    {
        $storageType = $this->getStorageType($typeId);
        if (!$storageType || $schemaId && !$storageType->hasSchema($schemaId)) {
            $storageType = $this->getBinaryType($typeId);
            if ($storageType) {
                $this->types[$storageType->getId()] = $storageType;
            }
        }
        return $storageType;
    }