Fenos\Notifynder\Artisan\CreateGroup::fire PHP Method

fire() public method

Execute the console command.
public fire ( ) : mixed
return mixed
    public function fire()
    {
        $nameGroup = $this->argument('name');
        if (!$this->notifynderGroup->addGroup($nameGroup)) {
            $this->error('The name must be a string with dots as namespaces');
            return false;
        }
        $this->info("Group {$nameGroup} has Been created");
    }