public function addArguments(array $args)
    {
        foreach ($args as $name => $params) {
            if ($params instanceof ConsoleInputArgument) {
                $name = $params;
                $params = [];
            }
            $this->addArgument($name, $params);
        }

        return $this;
    }
public function addArguments(array $args)
    {
        foreach ($args as $name => $params) {
            if ($params instanceof ConsoleInputArgument) {
                $name = $params;
                $params = [];
            }
            $this->addArgument($name, $params);
        }

        return $this;
    }
public function addArguments ( array $ args ) { foreach ( $ args as $ name => $ params ) { if ( $ params instanceof ConsoleInputArgument ) { $ name = $ params ; $ params = [ ] ; } $ this -> addArgument ( $ name , $ params ) ; } return $ this ; }
Add multiple arguments at once. Take an array of argument definitions.
The keys are used as the argument names, and the values as params for the argument.

@param array $args Array of arguments to add.
@see \Cake\Console\ConsoleOptionParser::addArgument()
@return $this
Add multiple arguments at once . Take an array of argument definitions . The keys are used as the argument names and the values as params for the argument .