original_string: public function addBundle($name, array $deps)
      {
          if ($name == '') {
              throw new exception\InvalidArgumentException('The require.js bundle name must not be empty');
          }
  
          $this->bundles[$name] = [];
          $this->addToBundle($name, $deps);
  
          return $this;
      }
code: public function addBundle($name, array $deps)
      {
          if ($name == '') {
              throw new exception\InvalidArgumentException('The require.js bundle name must not be empty');
          }
  
          $this->bundles[$name] = [];
          $this->addToBundle($name, $deps);
  
          return $this;
      }
code_tokens: public function addBundle ( $ name , array $ deps ) { if ( $ name == '' ) { throw new exception \ InvalidArgumentException ( 'The require.js bundle name must not be empty' ) ; } $ this -> bundles [ $ name ] = [ ] ; $ this -> addToBundle ( $ name , $ deps ) ; return $ this ; }
docstring: Add a new bundle definition.
  
  If the bundle is already defined, it will be replaced.
  
  @see http://requirejs.org/docs/api.html#config-bundles
  @param string $name
  @param array $deps
  @return self
docstring_tokens: Add a new bundle definition .