File "HorizontalRuleConverter.php"

Full Path: /home/stylijtl/public_html/wp-content/plugins/all-in-one-seo-pack/vendor/league/html-to-markdown/src/Converter/HorizontalRuleConverter.php
File size: 409 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

declare(strict_types=1);

namespace League\HTMLToMarkdown\Converter;

use League\HTMLToMarkdown\ElementInterface;

class HorizontalRuleConverter implements ConverterInterface
{
    public function convert(ElementInterface $element): string
    {
        return "---\n\n";
    }

    /**
     * @return string[]
     */
    public function getSupportedTags(): array
    {
        return ['hr'];
    }
}