src/Franzose/ClosureTable/Extensions/Str.php
public static function tableize($name)
    {
        $name = str_replace('\\', '', $name);

        return (ends_with($name, 'Closure') ? snake_case($name) : snake_case(str_plural($name)));
    }
public static function tableize($name)
    {
        $name = str_replace('\\', '', $name);

        return (ends_with($name, 'Closure') ? snake_case($name) : snake_case(str_plural($name)));
    }
public static function tableize ( $ name ) { $ name = str_replace ( '\\' , '' , $ name ) ; return ( ends_with ( $ name , 'Closure' ) ? snake_case ( $ name ) : snake_case ( str_plural ( $ name ) ) ) ; }
Makes database table name from given class name.

@param $name
@return string
Makes database table name from given class name .