app/Console/Commands/PolicyMakeCommand.php
/**
     * Replace the User model namespace.
     *
     * @param  string  $stub
     * @return string
     */
Replace the User model namespace.
@param  string  $stub
@return string
Replace the User model namespace . @param string $stub @return string
protected function replaceUserNamespace($stub)
    {
        if (! config('auth.providers.users.model')) {
            return $stub;
        }
        return str_replace(
            $this->rootNamespace().'User',
            config('auth.providers.users.model'),
            $stub
        );
    }
protected function replaceUserNamespace ( $ stub ) { if ( ! config ( 'auth.providers.users.model' ) ) { return $ stub ; } return str_replace ( $ this -> rootNamespace ( ) . 'User' , config ( 'auth.providers.users.model' ) , $ stub ) ; }
Replace the User model namespace.
Replace the User model namespace .