1<?php 2 3namespace dokuwiki\plugin\prosemirror\parser; 4 5class HruleNode extends Node 6{ 7 public function toSyntax() 8 { 9 return '----'; 10 } 11 12 /** 13 * HruleNode constructor. 14 * 15 * This is just a horizontal rule, it doesn't have attributes or context 16 * 17 * @param $data 18 * @param Node $parent 19 */ 20 public function __construct($data, Node $parent) 21 { 22 } 23} 24