*/ class HelperController extends Controller { /** * Parsed BBcode from a post request. * @return string */ public function bbcodeParse(): string { return BBParser::toHTML(htmlentities($_POST['text'] ?? ''), CurrentSession::$user); } }