public function toDriverDocument()
    {
        $vertex = new \triagens\ArangoDb\Vertex;

        foreach ($this->_data as $key => $value) {
            $vertex->set($key, $value);
        }

        if ($this->_id) {
            $vertex->setInternalId($this->_id);
        }

        if ($this->_key) {
            $vertex->setInternalKey($this->_key);
        }

        if ($this->_rev) {
            $vertex->setRevision($this->_rev);
        }

        return $vertex;
    }
public function toDriverDocument()
    {
        $vertex = new \triagens\ArangoDb\Vertex;

        foreach ($this->_data as $key => $value) {
            $vertex->set($key, $value);
        }

        if ($this->_id) {
            $vertex->setInternalId($this->_id);
        }

        if ($this->_key) {
            $vertex->setInternalKey($this->_key);
        }

        if ($this->_rev) {
            $vertex->setRevision($this->_rev);
        }

        return $vertex;
    }
public function toDriverDocument ( ) { $ vertex = new \ triagens \ ArangoDb \ Vertex ; foreach ( $ this -> _data as $ key => $ value ) { $ vertex -> set ( $ key , $ value ) ; } if ( $ this -> _id ) { $ vertex -> setInternalId ( $ this -> _id ) ; } if ( $ this -> _key ) { $ vertex -> setInternalKey ( $ this -> _key ) ; } if ( $ this -> _rev ) { $ vertex -> setRevision ( $ this -> _rev ) ; } return $ vertex ; }
Returns an ArangoDB-PHP vertex object representing this vertex.
@return \triagens\ArangoDb\Vertex
Returns an ArangoDB - PHP vertex object representing this vertex .