src/ViewComposerMakeCommand.php
/**
     * Parse the class name and format according to the root namespace.
     *
     * @param  string  $name
     * @return string
     */
Parse the class name and format according to the root namespace.
@param  string  $name
@return string
Parse the class name and format according to the root namespace . @param string $name @return string
protected function qualifyClass($name)
    {
        return $name;
        if (Str::startsWith($name, $rootNamespace)) {
            return $name;
        }
        $name = str_replace('/', '\\', $name);
        return $this->qualifyClass(
            $this->getDefaultNamespace(trim($rootNamespace, '\\')).'\\'.$name
        );
    }
protected function qualifyClass ( $ name ) { return $ name ; }
Parse the class name and format according to the root namespace.
Parse the class name and format according to the root namespace .
//暂时不处理 //        $rootNamespace = $this->rootNamespace(); // //        if (Str::startsWith($name, $rootNamespace)) { //            return $name; //        } // //        $name = str_replace('/', '\\', $name); // //        return $this->qualifyClass( //            $this->getDefaultNamespace(trim($rootNamespace, '\\')).'\\'.$name //        );