aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/league/html-to-markdown/src/HtmlConverterInterface.php
diff options
context:
space:
mode:
authorM. Dent <dentm42@gmail.com>2018-10-31 01:32:44 +0100
committerM. Dent <dentm42@gmail.com>2018-10-31 01:32:44 +0100
commitf9ab7647dd660adb37464614616cb8484c500de4 (patch)
treea3155f3820e9c4e86941a13d878a914b35941a61 /vendor/league/html-to-markdown/src/HtmlConverterInterface.php
parent046d264688aae76874fa22870f4bed77192335c2 (diff)
parentfc6ff45c4976d158ac565a7693b2e4d30fe70e33 (diff)
downloadvolse-hubzilla-f9ab7647dd660adb37464614616cb8484c500de4.tar.gz
volse-hubzilla-f9ab7647dd660adb37464614616cb8484c500de4.tar.bz2
volse-hubzilla-f9ab7647dd660adb37464614616cb8484c500de4.zip
Merge branch 'composer-updates' into 'dev'
update html_to_markdown, smarty and sabredav libs via composer See merge request hubzilla/core!1361
Diffstat (limited to 'vendor/league/html-to-markdown/src/HtmlConverterInterface.php')
-rw-r--r--vendor/league/html-to-markdown/src/HtmlConverterInterface.php26
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);
+}