示例#1
0
 /**
  * Garbage Collection.
  *
  * @notes  Garbage Collection (GC)
  *         Database session cleanup, residual token records.
  *         Users sometimes visit external websites and never return.
  *         entries need removal if left too long.
  *
  * @param int $max Delete session if greater than MAX [minutes]
  *
  * @return SecurityInterface
  */
 public function garbageCollection(int $max = 60) : SecurityInterface
 {
     $this->dbh->garbageCollection($max);
     return $this;
 }