Total Complexity | 8 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | class EmbedParser implements BlockContinueParserInterface |
||
22 | { |
||
23 | private Embed $embed; |
||
24 | |||
25 | 14 | public function __construct(string $url) |
|
28 | } |
||
29 | |||
30 | 14 | public function getBlock(): AbstractBlock |
|
33 | } |
||
34 | |||
35 | 14 | public function isContainer(): bool |
|
36 | { |
||
37 | 14 | return false; |
|
38 | } |
||
39 | |||
40 | 6 | public function canHaveLazyContinuationLines(): bool |
|
43 | } |
||
44 | |||
45 | 2 | public function canContain(AbstractBlock $childBlock): bool |
|
46 | { |
||
47 | 2 | return false; |
|
48 | } |
||
49 | |||
50 | 10 | public function tryContinue(Cursor $cursor, BlockContinueParserInterface $activeBlockParser): ?BlockContinue |
|
51 | { |
||
52 | 10 | return BlockContinue::none(); |
|
53 | } |
||
54 | |||
55 | 12 | public function addLine(string $line): void |
|
56 | { |
||
57 | 12 | } |
|
58 | |||
59 | 12 | public function closeBlock(): void |
|
61 | 12 | } |
|
62 | } |
||
63 |