summaryrefslogtreecommitdiff
path: root/src/Configuration.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Configuration.php')
-rw-r--r--src/Configuration.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/Configuration.php b/src/Configuration.php
index 0632399..1549f4d 100644
--- a/src/Configuration.php
+++ b/src/Configuration.php
@@ -69,6 +69,11 @@ class Configuration
protected $originalURL = 'http://fakehost';
/**
+ * @var string
+ */
+ protected $parser = 'html5';
+
+ /**
* Configuration constructor.
*
* @param array $params
@@ -327,6 +332,26 @@ class Configuration
}
/**
+ * @return string
+ */
+ public function getParser()
+ {
+ return $this->parser;
+ }
+
+ /**
+ * @param string $parser
+ *
+ * @return $this
+ */
+ public function setParser($parser)
+ {
+ $this->parser = $parser;
+
+ return $this;
+ }
+
+ /**
* @return bool
*/
public function getSummonCthulhu()