protected function getClassName()
    {
        $name = implode('', array_map('ucwords', $this->getSortedSingularTableNames()));

        $name = preg_replace_callback('/(\_)([a-z]{1})/', function ($matches) {
            return studly_case($matches[0]);
        }, $name);

        return "Create{$name}PivotTable";
    }
protected function getClassName()
    {
        $name = implode('', array_map('ucwords', $this->getSortedSingularTableNames()));

        $name = preg_replace_callback('/(\_)([a-z]{1})/', function ($matches) {
            return studly_case($matches[0]);
        }, $name);

        return "Create{$name}PivotTable";
    }
protected function getClassName ( ) { $ name = implode ( '' , array_map ( 'ucwords' , $ this -> getSortedSingularTableNames ( ) ) ) ; $ name = preg_replace_callback ( '/(\_)([a-z]{1})/' , function ( $ matches ) { return studly_case ( $ matches [ 0 ] ) ; } , $ name ) ; return "Create{$name}PivotTable" ; }
Get the class name from table names.

@return string
Get the class name from table names .