Takes a CamelCased class name and returns corresponding under_scored table name.
Parameters
- string $className CamelCased class name (i.e. `'Post'`).
Returns
string Under_scored and plural table name (i.e. `'posts'`).Source
public static function tableize($className) {
return static::pluralize(static::underscore($className));
}