summaryrefslogtreecommitdiff
path: root/src/ReadabilityInterface.php
diff options
context:
space:
mode:
authorAndres Rey <[email protected]>2016-10-18 16:49:47 +0100
committerAndres Rey <[email protected]>2016-10-18 16:49:47 +0100
commit878243522a6ac71df1ca175ffdc5d7247b7f5e09 (patch)
tree42f855bb61e1db80bd7501c9210aedc69493ec9b /src/ReadabilityInterface.php
parent8e5abf7e184fdab04d588013a1b8ffc49f8c1ec4 (diff)
Lots of comments
Diffstat (limited to 'src/ReadabilityInterface.php')
-rw-r--r--src/ReadabilityInterface.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ReadabilityInterface.php b/src/ReadabilityInterface.php
index f5df055..cbb4cb2 100644
--- a/src/ReadabilityInterface.php
+++ b/src/ReadabilityInterface.php
@@ -4,12 +4,24 @@ namespace andreskrey\Readability;
interface ReadabilityInterface
{
+ /**
+ * @param DOMElement $node
+ */
public function __construct($node);
+ /**
+ * @return int
+ */
public function getScore();
+ /**
+ * @return Readability
+ */
public function initializeNode();
+ /**
+ * @return int
+ */
public function getClassWeight();
}