function __construct($parser, $line) { parent::__construct(); $this->insert(new NyaaWikiSingleTag('hr')); }
function __toString() { return parent::__toString() . "->" . $this->tag; }
/** * @param $tk */ function insert($tk) { if ($this->useParagraph === true && is_a($tk, 'NyaaParserTokenInline')) { $p = new NyaaWikiParagraph(); $p->insert($tk); return parent::insert($p); } return parent::insert($tk); }