protected function getModelName($name = null)
    {
        $name = str_singular($this->meta['table']);

        $model = '';
        $pieces = explode('_', $name);
        foreach ($pieces as $k => $str) {
            $model = $model . ucwords($str);
        }

        return $model;
    }
protected function getModelName($name = null)
    {
        $name = str_singular($this->meta['table']);

        $model = '';
        $pieces = explode('_', $name);
        foreach ($pieces as $k => $str) {
            $model = $model . ucwords($str);
        }

        return $model;
    }
protected function getModelName ( $ name = null ) { $ name = str_singular ( $ this -> meta [ 'table' ] ) ; $ model = '' ; $ pieces = explode ( '_' , $ name ) ; foreach ( $ pieces as $ k => $ str ) { $ model = $ model . ucwords ( $ str ) ; } return $ model ; }
Get the class name for the Eloquent model generator.

@param null $name
@return string
Get the class name for the Eloquent model generator .