| 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 | 10 | public function __construct(string $url) |
|
| 28 | } |
||
| 29 | |||
| 30 | 10 | public function getBlock(): AbstractBlock |
|
| 33 | } |
||
| 34 | |||
| 35 | 10 | public function isContainer(): bool |
|
| 36 | { |
||
| 37 | 10 | return false; |
|
| 38 | } |
||
| 39 | |||
| 40 | 4 | public function canHaveLazyContinuationLines(): bool |
|
| 43 | } |
||
| 44 | |||
| 45 | 2 | public function canContain(AbstractBlock $childBlock): bool |
|
| 46 | { |
||
| 47 | 2 | return false; |
|
| 48 | } |
||
| 49 | |||
| 50 | 6 | public function tryContinue(Cursor $cursor, BlockContinueParserInterface $activeBlockParser): ?BlockContinue |
|
| 53 | } |
||
| 54 | |||
| 55 | public function addLine(string $line): void |
||
| 56 | { |
||
| 57 | } |
||
| 58 | |||
| 59 | public function closeBlock(): void |
||
| 61 | } |
||
| 62 | } |
||
| 63 |