src/Commands/MakeAPIRespositoryCommand.php
protected function buildClass($name)
    {
        $class = parent::buildClass($name);
        $class = str_replace('DummyModelClass', trim($this->laravel->getNamespace(), '\\').'\Models\\'.$this->argument('name'), $class);
        return $class;
    }
protected function buildClass($name)
    {
        $class = parent::buildClass($name);
        $class = str_replace('DummyModelClass', trim($this->laravel->getNamespace(), '\\').'\Models\\'.$this->argument('name'), $class);
        return $class;
    }
Build the class with the given name.

@param  string  $name
@return string