Storm\Drivers\Platforms\Mysql\Syncing\DatabaseBuilder::MapStorageType PHP Метод

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

private MapStorageType ( $StorageType )
    private function MapStorageType($StorageType)
    {
        switch ($StorageType) {
            case 'BTREE':
                return Tables\IndexStorageType::BTree;
            case 'RTREE':
                return Tables\IndexStorageType::RTree;
            case 'HASH':
                return Tables\IndexStorageType::Hash;
            default:
                throw new \Storm\Drivers\Base\Relational\PlatformException('Unknown index storage type: %s', $StorageType);
        }
    }