/** * Renders Word object into Text format * * @param \Inml\Text\Word $word * @return string */ private function renderWord(Word $word) { return $word->getWord(); }
/** * Renders Word object into HTML format * * @param \Inml\Text\Word $word * @return string */ private function renderWord(Word $word) { return $this->wrapInTags($word->getWord(), $word->getStyles()); }