File tree Expand file tree Collapse file tree 3 files changed +33
-2
lines changed Expand file tree Collapse file tree 3 files changed +33
-2
lines changed Original file line number Diff line number Diff line change 23
23
},
24
24
"require" : {
25
25
"php" : " >=5.3" ,
26
- "markdom/handler-interface" : " ^1.0.2 "
26
+ "markdom/handler-interface" : " ^1.0.3 "
27
27
}
28
28
}
Original file line number Diff line number Diff line change @@ -17,14 +17,14 @@ interface BlockInterface extends NodeInterface
17
17
{
18
18
19
19
const TYPE_CODE = BlockType::TYPE_CODE ;
20
+ const TYPE_COMMENT = BlockType::TYPE_COMMENT ;
20
21
const TYPE_DIVISION = BlockType::TYPE_DIVISION ;
21
22
const TYPE_HEADING = BlockType::TYPE_HEADING ;
22
23
const TYPE_UNORDERED_LIST = BlockType::TYPE_UNORDERED_LIST ;
23
24
const TYPE_ORDERED_LIST = BlockType::TYPE_ORDERED_LIST ;
24
25
const TYPE_LIST_ITEM = BlockType::TYPE_LIST_ITEM ;
25
26
const TYPE_PARAGRAPH = BlockType::TYPE_PARAGRAPH ;
26
27
const TYPE_QUOTE = BlockType::TYPE_QUOTE ;
27
- const TYPE_HTML = BlockType::TYPE_HTML ;
28
28
29
29
/**
30
30
* @return string
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ namespace Markdom \ModelInterface \Block ;
4
+
5
+ /**
6
+ * Interface CommentBlockInterface
7
+ *
8
+ * @package Markdom\ModelInterface\Block
9
+ */
10
+ interface CommentBlockInterface extends BlockInterface
11
+ {
12
+
13
+ /**
14
+ * CommentBlockInterface constructor.
15
+ *
16
+ * @param $comment
17
+ */
18
+ public function __construct ($ comment );
19
+
20
+ /**
21
+ * @return string
22
+ */
23
+ public function getComment ();
24
+
25
+ /**
26
+ * @param string $comment
27
+ * @return $this
28
+ */
29
+ public function setComment ($ comment );
30
+
31
+ }
You can’t perform that action at this time.
0 commit comments