original_string: public function addArguments(array $args)
      {
          foreach ($args as $name => $params) {
              if ($params instanceof ConsoleInputArgument) {
                  $name = $params;
                  $params = [];
              }
              $this->addArgument($name, $params);
          }
  
          return $this;
      }
code: public function addArguments(array $args)
      {
          foreach ($args as $name => $params) {
              if ($params instanceof ConsoleInputArgument) {
                  $name = $params;
                  $params = [];
              }
              $this->addArgument($name, $params);
          }
  
          return $this;
      }
code_tokens: public function addArguments ( array $ args ) { foreach ( $ args as $ name => $ params ) { if ( $ params instanceof ConsoleInputArgument ) { $ name = $ params ; $ params = [ ] ; } $ this -> addArgument ( $ name , $ params ) ; } return $ this ; }
docstring: 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
docstring_tokens: 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 .