Laralib\L5scaffold\Makes\MakeModel::start PHP Method

start() private method

Start make controller.
private start ( ) : void
return void
    private function start()
    {
        $name = $this->scaffoldCommandObj->getObjName('Name');
        $path = $this->getPath($name, 'model');
        if ($this->files->exists($path)) {
            return $this->scaffoldCommandObj->comment("x {$name}");
        }
        $this->files->put($path, $this->compileModelStub());
        $this->scaffoldCommandObj->info('+ Model');
    }