summaryrefslogtreecommitdiff
path: root/src/ReadabilityInterface.php
diff options
context:
space:
mode:
authorAndres Rey <[email protected]>2017-11-26 17:56:12 +0000
committerAndres Rey <[email protected]>2017-11-26 17:56:12 +0000
commit8c36112c0bbac0ab2e8e897388219917ecfa103c (patch)
tree545ec6cf88a8280ec88d4e1d50b213f4a542e2dd /src/ReadabilityInterface.php
parent3687f2f5cd4f0390613bb5879cbfce1a94307a33 (diff)
Making room for v1
Diffstat (limited to 'src/ReadabilityInterface.php')
-rw-r--r--src/ReadabilityInterface.php92
1 files changed, 0 insertions, 92 deletions
diff --git a/src/ReadabilityInterface.php b/src/ReadabilityInterface.php
deleted file mode 100644
index 0dee01b..0000000
--- a/src/ReadabilityInterface.php
+++ /dev/null
@@ -1,92 +0,0 @@
-<?php
-
-namespace andreskrey\Readability;
-
-use League\HTMLToMarkdown\ElementInterface;
-
-interface ReadabilityInterface extends ElementInterface
-{
- /**
- * @param string $value
- *
- * @return bool
- */
- public function tagNameEqualsTo($value);
-
- /**
- * @return int
- */
- public function getNodeAncestors();
-
- /**
- * @return Readability|null
- */
- public function getAllLinks();
-
- /**
- * @return int
- */
- public function getContentScore();
-
- /**
- * @return Readability
- */
- public function initializeNode();
-
- /**
- * @return int
- */
- public function getClassWeight();
-
- /**
- * @param int $score
- *
- * @return int
- */
- public function setContentScore($score);
-
- /**
- * @param bool $normalize Normalize white space?
- *
- * @return string
- */
- public function getTextContent($normalize);
-
- /**
- * @param string $value
- */
- public function setNodeTag($value);
-
- /**
- * @return \DOMNode
- */
- public function getDOMNode();
-
- /**
- * @param Readability $node
- *
- * @return Readability
- */
- public function removeAndGetNext($node);
-
- /**
- * @param Readability $originalNode
- * @param bool $ignoreSelfAndKids
- *
- * @return Readability
- */
- public function getNextNode($originalNode, $ignoreSelfAndKids = false);
-
- /**
- * @param Readability $node1
- * @param Readability $node2
- *
- * @return bool
- */
- public function compareNodes($node1, $node2);
-
- /**
- * @param Readability $newNode
- */
- public function replaceChild(Readability $newNode);
-}