/** * @deprecated Use \Haste\Util\StringUtil::convertToText() */ protected function convertToText($varValue, $options) { return \Haste\Util\StringUtil::convertToText($varValue, $options); }
/** * Convert the given array or string to plain text using given options * * @deprecated Deprecated since version 1.3.1, to be removed in version 2. * Use Haste\Util\StringUtil::convertToText() instead. * * @param mixed $varValue * @param int $options * * @return mixed */ public static function convertToText($varValue, $options) { return \Haste\Util\StringUtil::convertToText($varValue, $options); }