public static function extractModelName($name)
    {
        $name = self::removePostFixWith($name, '_id');

        return ucfirst(studly_case(Str::singular($name)));
    }
public static function extractModelName($name)
    {
        $name = self::removePostFixWith($name, '_id');

        return ucfirst(studly_case(Str::singular($name)));
    }
public static function extractModelName ( $ name ) { $ name = self :: removePostFixWith ( $ name , '_id' ) ; return ucfirst ( studly_case ( Str :: singular ( $ name ) ) ) ; }
Extracts the model name from the given field's name.

@param string $name

@return string
Extracts the model name from the given field s name .