original_string: public function applyFields($text)
      {
          $mailKeys = array_keys($this->getMailFields());
  
          return str_replace($mailKeys, $this->mailFields, $text);
      }
code: public function applyFields($text)
      {
          $mailKeys = array_keys($this->getMailFields());
  
          return str_replace($mailKeys, $this->mailFields, $text);
      }
code_tokens: public function applyFields ( $ text ) { $ mailKeys = array_keys ( $ this -> getMailFields ( ) ) ; return str_replace ( $ mailKeys , $ this -> mailFields , $ text ) ; }
docstring: Replace the mailkeys with the mailfields in given text
  @param  string $text     The text to apply the replacment to
  @return string           The text with replaced mailfields
docstring_tokens: Replace the mailkeys with the mailfields in given text