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
31
31
*/
32
32
public function getBlockType ();
33
33
34
- /**
35
- * @return BlockInterface
36
- */
37
- public function getBlock ();
38
-
39
34
/**
40
35
* @param BlockParentInterface $blockParent
41
36
* @return $this
Original file line number Diff line number Diff line change 14
14
interface BlockParentInterface extends NodeInterface
15
15
{
16
16
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
+
17
31
/**
18
32
* @return BlockSequenceInterface
19
33
*/
Original file line number Diff line number Diff line change 10
10
interface ListBlockInterface extends BlockInterface
11
11
{
12
12
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
+
13
21
/**
14
22
* @return ListItemSequenceInterface
15
23
*/
Original file line number Diff line number Diff line change 15
15
interface ContentParentInterface extends NodeInterface
16
16
{
17
17
18
+ const TYPE_EMPHASIS = 'EMPHASIS ' ;
19
+ const TYPE_HEADING = 'HEADING ' ;
20
+ const TYPE_LINK = 'LINK ' ;
21
+ const TYPE_PARAGRAPH = 'PARAGRAPH ' ;
22
+
18
23
/**
19
24
* @return ContentParentBlockInterface
20
25
*/
You can’t perform that action at this time.
0 commit comments