diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-11-05 09:55:23 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-11-05 09:55:23 +0100 |
commit | 4830a1559d5ad9f59d809bf3d693592d3f7c8ab2 (patch) | |
tree | db87b400af1f3de1ca01bccef58b0bf4e55b1241 /vendor/league/html-to-markdown/src/HtmlConverterInterface.php | |
parent | c8dd516d6c743d0371dc2ccb476eb70bcc17fa0a (diff) | |
parent | 92ea3ef72036c39601b69565f3e03fa44ad9aef7 (diff) | |
download | volse-hubzilla-4830a1559d5ad9f59d809bf3d693592d3f7c8ab2.tar.gz volse-hubzilla-4830a1559d5ad9f59d809bf3d693592d3f7c8ab2.tar.bz2 volse-hubzilla-4830a1559d5ad9f59d809bf3d693592d3f7c8ab2.zip |
Merge branch 'dev'
Diffstat (limited to 'vendor/league/html-to-markdown/src/HtmlConverterInterface.php')
-rw-r--r-- | vendor/league/html-to-markdown/src/HtmlConverterInterface.php | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/vendor/league/html-to-markdown/src/HtmlConverterInterface.php b/vendor/league/html-to-markdown/src/HtmlConverterInterface.php new file mode 100644 index 000000000..7d43cf87e --- /dev/null +++ b/vendor/league/html-to-markdown/src/HtmlConverterInterface.php @@ -0,0 +1,26 @@ +<?php + +namespace League\HTMLToMarkdown; + +/** + * Interface for an HTML-to-Markdown converter. + * + * @author Colin O'Dell <colinodell@gmail.com> + * + * @link https://github.com/thephpleague/html-to-markdown/ Latest version on GitHub. + * + * @license http://www.opensource.org/licenses/mit-license.php MIT + */ +interface HtmlConverterInterface +{ + /** + * Convert the given $html to Markdown + * + * @param string $html + * + * @throws \InvalidArgumentException + * + * @return string The Markdown version of the html + */ + public function convert($html); +} |