src/Store/Document.php
public function toDocument()
    {
        $doc = new Document();
        $doc->data = $this->data;
        $doc->defaults = $this->defaultData;
        return $doc;
    }
public function toDocument()
    {
        $doc = new Document();
        $doc->data = $this->data;
        $doc->defaults = $this->defaultData;
        return $doc;
    }
public function toDocument ( ) { $ doc = new Document ( ) ; $ doc -> data = $ this -> data ; $ doc -> defaults = $ this -> defaultData ; return $ doc ; }
Convert to document.

@return Document Document.
Convert to document .