summaryrefslogtreecommitdiff
path: root/src/ReadabilityInterface.php
diff options
context:
space:
mode:
authorAndres Rey <[email protected]>2016-10-19 16:30:59 +0100
committerAndres Rey <[email protected]>2016-10-19 16:30:59 +0100
commitc34c30605a37514550e747d5d48187a160259036 (patch)
treefab23444361292e2754868337f88509ae4293e8f /src/ReadabilityInterface.php
parentcc4a384a0c9b6929388a56de21e0bd8f5958dadc (diff)
Progress over content scoring
Diffstat (limited to 'src/ReadabilityInterface.php')
-rw-r--r--src/ReadabilityInterface.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/ReadabilityInterface.php b/src/ReadabilityInterface.php
index 21b78e5..21048eb 100644
--- a/src/ReadabilityInterface.php
+++ b/src/ReadabilityInterface.php
@@ -12,7 +12,7 @@ interface ReadabilityInterface
/**
* @return int
*/
- public function getScore();
+ public function getContentScore();
/**
* @return Readability
@@ -23,4 +23,11 @@ interface ReadabilityInterface
* @return int
*/
public function getClassWeight();
+
+ /**
+ * @param int $score
+ *
+ * @return int
+ */
+ public function setContentScore($score);
}