PhpOrient\Protocols\Binary\Data\Record::getVersion PHP Метод

getVersion() публичный Метод

Gets the Version
public getVersion ( ) : integer
Результат integer
    public function getVersion()
    {
        return $this->version;
    }

Usage Example

Пример #1
0
 /**
  * Update a Record
  *
  * @param Record $record
  *
  * @return RecordUpdate|Record
  */
 public function recordUpdate(Record $record)
 {
     $result = $this->getTransport()->execute('recordUpdate', ['rid' => $record->getRid(), 'record' => $record, 'record_version' => $record->getVersion()]);
     $this->setFetchClass(false);
     return $result;
 }
All Usage Examples Of PhpOrient\Protocols\Binary\Data\Record::getVersion