public function render() { if (!
isset($this->translatedMarkup
)) { $this->translatedMarkup =
$this->
getStringTranslation()->
translateString($this);
} // Handle any replacements.
if ($args =
$this->
getArguments()) { return $this->
placeholderFormat($this->translatedMarkup,
$args);
} return $this->translatedMarkup;
} /**
* Magic __sleep() method to avoid serializing the string translator.
*/
public function __sleep() { return ['string', 'arguments', 'options'
];
}