/**
  * Wyświetla tablicę cache
  */
 function debug()
 {
     \psDebug::print_r($this->cache);
 }
 public function connect()
 {
     try {
         $this->dbHandle = new \SQLite3($this->dbConfig['db']);
         if (empty($this->dbHandle)) {
             throw new Exception('No connection');
         }
         $this->connected = true;
         $this->dbConfig['handle'] = $this->dbHandle;
     } catch (Exception $e) {
         \psDebug::halt('Brak połączenia z bazą danych', $e, array('display' => false));
     }
 }
 public function debug()
 {
     \psDebug::print_r($this->elements);
 }