Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 6 | ||
Bugs | 1 | Features | 2 |
1 | <?php |
||
24 | public function __construct($html, $type = self::DEFAULT_TYPE, $autoremove = true) |
||
25 | { |
||
26 | $this->registerOption(self::OPTION_HTML); |
||
27 | $this->registerOption(self::OPTION_TYPE); |
||
28 | $this->registerOption(self::OPTION_CLOSE); |
||
29 | $this->registerOption(self::OPTION_AUTOREMOVE); |
||
30 | |||
31 | $this->setOption(self::OPTION_HTML, $html); |
||
32 | $this->setOption(self::OPTION_TYPE, $type); |
||
33 | $this->setOption(self::OPTION_AUTOREMOVE, (bool)$autoremove); |
||
34 | } |
||
35 | |||
48 |