Example #1
0
 /**
  * @param Versions $db
  */
 public function updateDatabaseTimestamp(Versions $db)
 {
     $db->insert(["timestamp" => $this->_timestamp]);
 }
Example #2
0
 /**
  *
  */
 private function init()
 {
     $this->versionDb = new Versions();
     $v = $this->versionDb->getVersions();
     $this->versions = $v !== false ? $v : [];
 }