diff --git a/src/Document.php b/src/Document.php index 8042fed..43819c7 100644 --- a/src/Document.php +++ b/src/Document.php @@ -24,7 +24,7 @@ */ class Document extends Base { - protected $version = '1.2'; + protected $version = '1.14'; protected $identifier; protected $title; protected $language; @@ -84,6 +84,19 @@ public function getVersion() { return $this->version; } + /** + * Setter for version. + * + * @param mixed $value + * Version. + * + * @return $this + */ + public function setVersion($version) { + $this->version = (string) $version; + return $this; + } + /** * Getter for identifier. */