/** * * * @return void */ public function writeWord(MString $word) { $string = new MMutableString($word); if (!$word->hasSuffix(S(" "))) { $string->appendString(S(" ")); } $this->writeString($string); }