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

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

private MapIndexType ( $Type )
    private function MapIndexType($Type)
    {
        switch ($Type) {
            case Traits\IndexType::Plain:
                return '';
            case Traits\IndexType::Unique:
                return 'UNIQUE';
            case Traits\IndexType::FullText:
                return 'FULLTEXT';
            default:
                throw new \Storm\Core\UnexpectedValueException('Unknown index type: %s', $Type);
        }
    }