File tree Expand file tree Collapse file tree 4 files changed +27
-5
lines changed
Expand file tree Collapse file tree 4 files changed +27
-5
lines changed Original file line number Diff line number Diff line change @@ -31,11 +31,6 @@ interface BlockInterface extends NodeInterface
3131 */
3232 public function getBlockType ();
3333
34- /**
35- * @return BlockInterface
36- */
37- public function getBlock ();
38-
3934 /**
4035 * @param BlockParentInterface $blockParent
4136 * @return $this
Original file line number Diff line number Diff line change 1414interface BlockParentInterface extends NodeInterface
1515{
1616
17+ const TYPE_DOCUMENT = 'DOCUMENT ' ;
18+ const TYPE_LIST_ITEM = 'LIST_ITEM ' ;
19+ const TYPE_QUOTE = 'QUOTE ' ;
20+
21+ /**
22+ * @return string
23+ */
24+ public function getContentParentType ();
25+
26+ /**
27+ * @return string
28+ */
29+ public function getBlockParentType ();
30+
1731 /**
1832 * @return BlockSequenceInterface
1933 */
Original file line number Diff line number Diff line change 1010interface ListBlockInterface extends BlockInterface
1111{
1212
13+ const TYPE_ORDERED_LIST = 'ORDERED_LIST ' ;
14+ const TYPE_UNORDERED_LIST = 'UNORDERED_LIST ' ;
15+
16+ /**
17+ * @return string
18+ */
19+ public function getListBlockType ();
20+
1321 /**
1422 * @return ListItemSequenceInterface
1523 */
Original file line number Diff line number Diff line change 1515interface ContentParentInterface extends NodeInterface
1616{
1717
18+ const TYPE_EMPHASIS = 'EMPHASIS ' ;
19+ const TYPE_HEADING = 'HEADING ' ;
20+ const TYPE_LINK = 'LINK ' ;
21+ const TYPE_PARAGRAPH = 'PARAGRAPH ' ;
22+
1823 /**
1924 * @return ContentParentBlockInterface
2025 */
You can’t perform that action at this time.
0 commit comments