| Total Complexity | 3 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | trait InlineNodeBuilder |
||
| 14 | { |
||
| 15 | public function emoji(string $shortName, ?string $id = null, ?string $text = null): self |
||
| 16 | { |
||
| 17 | $emoji = new Emoji($shortName, $id, $text); |
||
| 18 | $this->append($emoji); |
||
| 19 | |||
| 20 | return $this; |
||
| 21 | } |
||
| 22 | |||
| 23 | public function mention(string $mentionId, string $text, ?string $accessLevel = null): self |
||
| 29 | } |
||
| 30 | |||
| 31 | public function break(?Node $parent = null): self |
||
| 36 | } |
||
| 37 | |||
| 38 | abstract public function append(Node ...$nodes): BlockNode; |
||
| 39 | } |
||
| 40 |