diff options
| author | JoshyPHP <s9e.dev@gmail.com> | 2015-03-03 00:52:31 +0100 |
|---|---|---|
| committer | JoshyPHP <s9e.dev@gmail.com> | 2015-04-02 19:16:02 +0200 |
| commit | 694e515f7c812a470a9a1890aa49ba6ad59385fb (patch) | |
| tree | 4de8074d3e4ce5b8e26ffa239bb106b84f529c39 /phpBB/phpbb/textformatter/s9e | |
| parent | b12043d4b076b1e214fd85da28358ba829d47a76 (diff) | |
| download | forums-694e515f7c812a470a9a1890aa49ba6ad59385fb.tar forums-694e515f7c812a470a9a1890aa49ba6ad59385fb.tar.gz forums-694e515f7c812a470a9a1890aa49ba6ad59385fb.tar.bz2 forums-694e515f7c812a470a9a1890aa49ba6ad59385fb.tar.xz forums-694e515f7c812a470a9a1890aa49ba6ad59385fb.zip | |
[ticket/11768] Replaced \phpbb\textformatter\parser with an interface
PHPBB3-11768
Diffstat (limited to 'phpBB/phpbb/textformatter/s9e')
| -rw-r--r-- | phpBB/phpbb/textformatter/s9e/parser.php | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/phpBB/phpbb/textformatter/s9e/parser.php b/phpBB/phpbb/textformatter/s9e/parser.php index 977097462b..de51929994 100644 --- a/phpBB/phpbb/textformatter/s9e/parser.php +++ b/phpBB/phpbb/textformatter/s9e/parser.php @@ -19,7 +19,7 @@ use s9e\TextFormatter\Parser\Logger; /** * s9e\TextFormatter\Parser adapter */ -class parser extends \phpbb\textformatter\parser +class parser implements \phpbb\textformatter\parser { /** * @var s9e\TextFormatter\Parser @@ -220,6 +220,17 @@ class parser extends \phpbb\textformatter\parser } /** + * {@inheritdoc} + */ + public function set_vars(array $vars) + { + foreach ($vars as $name => $value) + { + $this->set_var($name, $value); + } + } + + /** * Filter a flash object's height * * @see bbcode_firstpass::bbcode_flash() |
