original_string: private function addParameter($path, $bundleName, $name)
      {
          $formPath = $this->configuration['namespace'] . '\\' . $this->model . 'Type';
          $ref = '<parameters>';
          $replaceBefore = true;
  
          $declaration = <<<EOF
          <parameter key="$bundleName.form.type.$name.class">$formPath</parameter>
  EOF;
  
          if ($this->refExist($path, $declaration)) {
              return;
          }
  
          if (!$this->refExist($path, $ref)) {
              $ref = '    <services>';
              $replaceBefore = false;
              $declaration = <<<EOF
      <parameters>
  $declaration
      </parameters>
  
  EOF;
          }
  
          $this->dumpFile($path, "\n" . $declaration, $ref, $replaceBefore);
      }
code: private function addParameter($path, $bundleName, $name)
      {
          $formPath = $this->configuration['namespace'] . '\\' . $this->model . 'Type';
          $ref = '<parameters>';
          $replaceBefore = true;
  
          $declaration = <<<EOF
          <parameter key="$bundleName.form.type.$name.class">$formPath</parameter>
  EOF;
  
          if ($this->refExist($path, $declaration)) {
              return;
          }
  
          if (!$this->refExist($path, $ref)) {
              $ref = '    <services>';
              $replaceBefore = false;
              $declaration = <<<EOF
      <parameters>
  $declaration
      </parameters>
  
  EOF;
          }
  
          $this->dumpFile($path, "\n" . $declaration, $ref, $replaceBefore);
      }
code_tokens: private function addParameter ( $ path , $ bundleName , $ name ) { $ formPath = $ this -> configuration [ 'namespace' ] . '\\' . $ this -> model . 'Type' ; $ ref = '<parameters>' ; $ replaceBefore = true ; $ declaration =  <<<EOF
          <parameter key="$bundleName.form.type.$name.class">$formPath</parameter>
  EOF ; if ( $ this -> refExist ( $ path , $ declaration ) ) { return ; } if ( ! $ this -> refExist ( $ path , $ ref ) ) { $ ref = '    <services>' ; $ replaceBefore = false ; $ declaration =  <<<EOF
      <parameters>
  $declaration
      </parameters>
  
  EOF ; } $ this -> dumpFile ( $ path , "\n" . $ declaration , $ ref , $ replaceBefore ) ; }
docstring: Add parameter node
  
  @param string $path
  @param string $bundleName
  @param string $name
docstring_tokens: Add parameter node