Пример #1
0
 /**
  * Checkout cart
  */
 public function checkOut($drop)
 {
     if (!empty($this->storage->db)) {
         $this->storage->lock($drop, $this);
     } else {
         $this->deleteAll();
     }
 }