Storm\Drivers\Platforms\Mysql\Syncing\TableTraitManager::MapIndexStorageType PHP Метод

MapIndexStorageType() приватный Метод

private MapIndexStorageType ( $StorageType )
    private function MapIndexStorageType($StorageType)
    {
        switch ($StorageType) {
            case Mysql\Tables\IndexStorageType::BTree:
                return 'BTREE';
            case Mysql\Tables\IndexStorageType::RTree:
                return 'RTREE';
            case Mysql\Tables\IndexStorageType::Hash:
                return 'HASH';
            default:
                throw new \Storm\Core\UnexpectedValueException('Unknown index storage type: %s', $StorageType);
        }
    }