public function define($task, $commands)
    {
        foreach ($this->connections as $connection) {
            $connection->define($task, $commands);
        }
    }
public function define($task, $commands)
    {
        foreach ($this->connections as $connection) {
            $connection->define($task, $commands);
        }
    }
public function define ( $ task , $ commands ) { foreach ( $ this -> connections as $ connection ) { $ connection -> define ( $ task , $ commands ) ; } }
Define a set of commands as a task.

@param string       $task
@param string|array $commands

@return void
Define a set of commands as a task .