public function map($name, $callback, array $arguments = [])
    {
        $command = new Command($name, $callback, $arguments);
        $this->commands[$name] = $command;
        return $command;
    }
public function map($name, $callback, array $arguments = [])
    {
        $command = new Command($name, $callback, $arguments);
        $this->commands[$name] = $command;
        return $command;
    }
public function map ( $ name , $ callback , array $ arguments = [ ] ) { $ command = new Command ( $ name , $ callback , $ arguments ) ; $ this -> commands [ $ name ] = $ command ; return $ command ; }
Map first argument to callback

- callable
- [class, method], including __invoke

Argument matching full integrated from climate http://climate.thephpleague.com/arguments/

@param $name
@param $callback
@param array $arguments
@return Command
Map first argument to callback