/** * getTitleString * * @return string * * @access public */ public function getTitleString() { $sep = $this->titleSeparator; $raw = trim(implode($sep, [implode($sep, $this->titles), $this->siteTitle]), $sep); return $this->escaper->html($raw); }
/** * * Static escaping for HTML body and quoted HTML attribute context. * * @param string $raw The raw string. * * @return string The escaped string. * */ public static function h($raw) { return static::$escaper->html($raw); }