hookContainer = $hookContainer; } /** * @inheritDoc */ public function onMathFormulaPostRender( Parser $parser, MathRenderer $renderer, string &$renderedMath ) { return $this->hookContainer->run( 'MathFormulaPostRender', [ $parser, $renderer, &$renderedMath ] ); } /** * @inheritDoc */ public function onMathRenderingResultRetrieved( MathRenderer &$renderer, stdClass &$jsonResult ) { return $this->hookContainer->run( 'MathRenderingResultRetrieved', [ &$renderer, &$jsonResult ] ); } }