original_string: protected function setUriParts(array $parts)
      {
          foreach ($parts as $key => $value) {
              if (!method_exists($this, "set$key")) {
                  continue;
              }
              $this->{"set$key"}($value);
          }
      }
code: protected function setUriParts(array $parts)
      {
          foreach ($parts as $key => $value) {
              if (!method_exists($this, "set$key")) {
                  continue;
              }
              $this->{"set$key"}($value);
          }
      }
code_tokens: protected function setUriParts ( array $ parts ) { foreach ( $ parts as $ key => $ value ) { if ( ! method_exists ( $ this , "set$key" ) ) { continue ; } $ this -> { "set$key" } ( $ value ) ; } }
docstring: Set the URI parts
  
  @param array $parts
docstring_tokens: Set the URI parts