src/MalScraper/Model/MainModel.php
public static function getCleanClassName($model)
    {
        $className = get_class($model);
        $className = explode('\\', $className);

        return $className[count($className) - 1];
    }
public static function getCleanClassName($model)
    {
        $className = get_class($model);
        $className = explode('\\', $className);

        return $className[count($className) - 1];
    }
public static function getCleanClassName ( $ model ) { $ className = get_class ( $ model ) ; $ className = explode ( '\\' , $ className ) ; return $ className [ count ( $ className ) - 1 ] ; }
Get clean class name.

@param MainModel $model Any model

@return string
Get clean class name .