original_string: public function setConnections(array $connections)
      {
          $this->connections = array();
          foreach ($connections as $name => $connection) {
              $this->setConnection($name, $connection);
          }
      }
code: public function setConnections(array $connections)
      {
          $this->connections = array();
          foreach ($connections as $name => $connection) {
              $this->setConnection($name, $connection);
          }
      }
code_tokens: public function setConnections ( array $ connections ) { $ this -> connections = array ( ) ; foreach ( $ connections as $ name => $ connection ) { $ this -> setConnection ( $ name , $ connection ) ; } }
docstring: Set the connections.
  
  @param array $connections An array of connections.
  
  @api
docstring_tokens: Set the connections .