Doctrine\ODM\CouchDB\OptimisticLockException::getDocument PHP Method

getDocument() public method

Gets the document that caused the exception.
public getDocument ( ) : object
return object
    public function getDocument()
    {
        return $this->document;
    }