original_string: private function addParameters(\DOMElement $parent)
      {
          $data = $this->container->getParameterBag()->all();
          if (!$data) {
              return;
          }
  
          if ($this->container->isFrozen()) {
              $data = $this->escape($data);
          }
  
          $parameters = $this->document->createElement('parameters');
          $parent->appendChild($parameters);
          $this->convertParameters($data, 'parameter', $parameters);
      }
code: private function addParameters(\DOMElement $parent)
      {
          $data = $this->container->getParameterBag()->all();
          if (!$data) {
              return;
          }
  
          if ($this->container->isFrozen()) {
              $data = $this->escape($data);
          }
  
          $parameters = $this->document->createElement('parameters');
          $parent->appendChild($parameters);
          $this->convertParameters($data, 'parameter', $parameters);
      }
code_tokens: private function addParameters ( \ DOMElement $ parent ) { $ data = $ this -> container -> getParameterBag ( ) -> all ( ) ; if ( ! $ data ) { return ; } if ( $ this -> container -> isFrozen ( ) ) { $ data = $ this -> escape ( $ data ) ; } $ parameters = $ this -> document -> createElement ( 'parameters' ) ; $ parent -> appendChild ( $ parameters ) ; $ this -> convertParameters ( $ data , 'parameter' , $ parameters ) ; }
docstring: Adds parameters.
  
  @param \DOMElement $parent
docstring_tokens: Adds parameters .