Skip to content

Commit 063e707

Browse files
authored
Update BBCode.php
1 parent 4f00786 commit 063e707

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/BBCode.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ final class BBCode
1212

1313
const CASE_SENSITIVE = 0;
1414

15-
public function __construct()
15+
public function __construct($htmlParsers = null, $bbCodeParsers = null)
1616
{
17-
$this->htmlParser = new HTMLParser();
18-
$this->bbCodeParser = new BBCodeParser();
17+
$this->htmlParser = new HTMLParser($htmlParsers);
18+
$this->bbCodeParser = new BBCodeParser($bbCodeParsers);
1919
}
2020

2121
public function only($only = null)

0 commit comments

Comments
 (0)