src/searchOld/elastic/helpers/IndexHelper.php
public static function storageClassToType($storageClass)
    {
        if (false === is_string($storageClass)) {
            return '';
        }
        $name = StringHelper::basename($storageClass);
        return Inflector::camel2id($name, '_');
    }
public static function storageClassToType($storageClass)
    {
        if (false === is_string($storageClass)) {
            return '';
        }
        $name = StringHelper::basename($storageClass);
        return Inflector::camel2id($name, '_');
    }
public static function storageClassToType ( $ storageClass ) { if ( false === is_string ( $ storageClass ) ) { return '' ; } $ name = StringHelper :: basename ( $ storageClass ) ; return Inflector :: camel2id ( $ name , '_' ) ; }
Builds index type according to given property storage class name

@param $storageClass
@return string
Builds index type according to given property storage class name