protected function configureName($type, $name)
    {
        $config = $this->laravel['config']['repository'];

        if($config["{$type}_to_plural"] === true) {
            $name = Str::plural($name);
        }

        if($config["case_sensitive"] === false) {
            $name = Str::studly(strtolower($name));
        }

        return $name . $config["{$type}_append"];
    }
protected function configureName($type, $name)
    {
        $config = $this->laravel['config']['repository'];

        if($config["{$type}_to_plural"] === true) {
            $name = Str::plural($name);
        }

        if($config["case_sensitive"] === false) {
            $name = Str::studly(strtolower($name));
        }

        return $name . $config["{$type}_append"];
    }
protected function configureName ( $ type , $ name ) { $ config = $ this -> laravel [ 'config' ] [ 'repository' ] ; if ( $ config [ "{$type}_to_plural" ] === true ) { $ name = Str :: plural ( $ name ) ; } if ( $ config [ "case_sensitive" ] === false ) { $ name = Str :: studly ( strtolower ( $ name ) ) ; } return $ name . $ config [ "{$type}_append" ] ; }
Configure the name according to user preferred settings

@param  string $type
@param  string $name
@return string
Configure the name according to user preferred settings