src/searchOld/elastic/helpers/IndexHelper.php
public static function classToIndex($className)
    {
        if (false === is_string($className)) {
            return '';
        }
        $modelClass = strtolower($className);
        return StringHelper::basename($modelClass);
    }
public static function classToIndex($className)
    {
        if (false === is_string($className)) {
            return '';
        }
        $modelClass = strtolower($className);
        return StringHelper::basename($modelClass);
    }
public static function classToIndex ( $ className ) { if ( false === is_string ( $ className ) ) { return '' ; } $ modelClass = strtolower ( $ className ) ; return StringHelper :: basename ( $ modelClass ) ; }
Builds index name according to given model class

@param string $className
@return string
Builds index name according to given model class