original_string: protected function _insertPlaceHolder($matches)
      {
          $match = $matches[0];
          $envelope = ['', ''];
          if (isset($matches['url'])) {
              $match = $matches['url'];
              $envelope = [$matches['left'], $matches['right']];
          }
          if (isset($matches['url_bare'])) {
              $match = $matches['url_bare'];
          }
          $key = hash_hmac('sha1', $match, Security::getSalt());
          $this->_placeholders[$key] = [
              'content' => $match,
              'envelope' => $envelope
          ];
  
          return $key;
      }
code: protected function _insertPlaceHolder($matches)
      {
          $match = $matches[0];
          $envelope = ['', ''];
          if (isset($matches['url'])) {
              $match = $matches['url'];
              $envelope = [$matches['left'], $matches['right']];
          }
          if (isset($matches['url_bare'])) {
              $match = $matches['url_bare'];
          }
          $key = hash_hmac('sha1', $match, Security::getSalt());
          $this->_placeholders[$key] = [
              'content' => $match,
              'envelope' => $envelope
          ];
  
          return $key;
      }
code_tokens: protected function _insertPlaceHolder ( $ matches ) { $ match = $ matches [ 0 ] ; $ envelope = [ '' , '' ] ; if ( isset ( $ matches [ 'url' ] ) ) { $ match = $ matches [ 'url' ] ; $ envelope = [ $ matches [ 'left' ] , $ matches [ 'right' ] ] ; } if ( isset ( $ matches [ 'url_bare' ] ) ) { $ match = $ matches [ 'url_bare' ] ; } $ key = hash_hmac ( 'sha1' , $ match , Security :: getSalt ( ) ) ; $ this -> _placeholders [ $ key ] = [ 'content' => $ match , 'envelope' => $ envelope ] ; return $ key ; }
docstring: Saves the placeholder for a string, for later use. This gets around double
  escaping content in URL's.
  
  @param array $matches An array of regexp matches.
  @return string Replaced values.
docstring_tokens: Saves the placeholder for a string for later use . This gets around double escaping content in URL s .