mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/11768] Restored get_parser() / get_renderer()
PHPBB3-11768
This commit is contained in:
@@ -241,6 +241,16 @@ class parser implements \phpbb\textformatter\parser_interface
|
||||
return array_unique($errors);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the instance of s9e\TextFormatter\Parser used by this object
|
||||
*
|
||||
* @return \s9e\TextFormatter\Parser
|
||||
*/
|
||||
public function get_parser()
|
||||
{
|
||||
return $this->parser;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
@@ -163,6 +163,16 @@ class renderer implements \phpbb\textformatter\renderer_interface
|
||||
$this->renderer->setParameter('STYLE_ID', $user->style['style_id']);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the instance of s9e\TextFormatter\Renderer used by this object
|
||||
*
|
||||
* @return \s9e\TextFormatter\Renderer
|
||||
*/
|
||||
public function get_renderer()
|
||||
{
|
||||
return $this->renderer;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
Reference in New Issue
Block a user