public function getDriver()
    {
        if (!$this->_driver) {

            if ($this->_graph) {
                $this->_driver = $this->getGraphHandler();
            } else {
                $this->_driver = $this->getDocumentHandler();
            }
        }

        return $this->_driver;
    }