summaryrefslogtreecommitdiff
path: root/src/ReadabilityInterface.php
diff options
context:
space:
mode:
authorAndres Rey <[email protected]>2016-10-18 15:52:57 +0100
committerAndres Rey <[email protected]>2016-10-18 15:52:57 +0100
commit03ef55b961173152fc8ffc1c83bc96c74ffb08b7 (patch)
tree766c7d13a8ab1dcc59bdfd126951726ed237cc04 /src/ReadabilityInterface.php
parenta92863189af61a1f3c86d42815ee04b5e2353cc9 (diff)
Fixed a nasty bug when searching for a missing parent on an element. Expanded the Readability object with class and element scoring.
Diffstat (limited to 'src/ReadabilityInterface.php')
-rw-r--r--src/ReadabilityInterface.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ReadabilityInterface.php b/src/ReadabilityInterface.php
index 8e659a3..f5df055 100644
--- a/src/ReadabilityInterface.php
+++ b/src/ReadabilityInterface.php
@@ -4,5 +4,12 @@ namespace andreskrey\Readability;
interface ReadabilityInterface
{
+ public function __construct($node);
+
public function getScore();
+
+ public function initializeNode();
+
+ public function getClassWeight();
+
}