original_string: public function setAll($variables)
      {
          $vars = array();
          foreach ($variables as $k => $v) {
              $vars[] = array('key' => $k, 'value' => $v);
          }
          return $this->setArgument("variables", $vars);
      }
code: public function setAll($variables)
      {
          $vars = array();
          foreach ($variables as $k => $v) {
              $vars[] = array('key' => $k, 'value' => $v);
          }
          return $this->setArgument("variables", $vars);
      }
code_tokens: public function setAll ( $ variables ) { $ vars = array ( ) ; foreach ( $ variables as $ k => $ v ) { $ vars [ ] = array ( 'key' => $ k , 'value' => $ v ) ; } return $ this -> setArgument ( "variables" , $ vars ) ; }
docstring: Sets all the given variables.
  
  @param array $variables variables.
  
  @return PortaText\Command\ICommand
docstring_tokens: Sets all the given variables .