diff options
Diffstat (limited to 'plugins/af_readability/vendor/fivefilters/readability.php/test/TestPage.php')
-rw-r--r-- | plugins/af_readability/vendor/fivefilters/readability.php/test/TestPage.php | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/plugins/af_readability/vendor/fivefilters/readability.php/test/TestPage.php b/plugins/af_readability/vendor/fivefilters/readability.php/test/TestPage.php index ed6f92e7c..8cce347cd 100644 --- a/plugins/af_readability/vendor/fivefilters/readability.php/test/TestPage.php +++ b/plugins/af_readability/vendor/fivefilters/readability.php/test/TestPage.php @@ -1,17 +1,19 @@ <?php -namespace andreskrey\Readability\Test; +namespace fivefilters\Readability\Test; class TestPage { + private $slug; private $configuration; private $sourceHTML; private $expectedHTML; private $expectedImages; private $expectedMetadata; - public function __construct($configuration, $sourceHTML, $expectedHTML, $expectedImages, $expectedMetadata) + public function __construct($slug, $configuration, $sourceHTML, $expectedHTML, $expectedImages, $expectedMetadata) { + $this->slug = $slug; $this->configuration = $configuration; $this->sourceHTML = $sourceHTML; $this->expectedHTML = $expectedHTML; @@ -20,6 +22,14 @@ class TestPage } /** + * @return string + */ + public function getSlug() + { + return $this->slug; + } + + /** * @return array */ public function getConfiguration() @@ -28,7 +38,7 @@ class TestPage } /** - * @return null + * @return string */ public function getSourceHTML() { @@ -36,7 +46,7 @@ class TestPage } /** - * @return null + * @return string */ public function getExpectedHTML() { |