Encore\Admin\Commands\MakeCommand::handle PHP Method

handle() public method

Execute the console command.
public handle ( ) : void
return void
    public function handle()
    {
        if (!$this->modelExists()) {
            $this->error('Model does not exists !');
            return false;
        }
        $this->type = $this->parseName($this->getNameInput());
        parent::fire();
    }