| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class TableDataConverter implements ConverterInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Converts the specified element into a parsed string. |
||
| 12 | * |
||
| 13 | * @param \League\HTMLToMarkdown\ElementInterface $element |
||
| 14 | * @return string |
||
| 15 | */ |
||
| 16 | 3 | public function convert(ElementInterface $element) |
|
| 17 | { |
||
| 18 | 3 | return trim($element->getValue()); |
|
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Returns the supported HTML tags. |
||
| 23 | * |
||
| 24 | * @return string[] |
||
| 25 | */ |
||
| 26 | 15 | public function getSupportedTags() |
|
| 29 | } |
||
| 30 | } |
||
| 31 |