Exemplo n.º 1
0
 public function __construct($options)
 {
     //$this->logger = new DatabaseLogger();
     $this->options = $options;
     $this->connect($options);
     NimbleRecord::set_connection($this->connection);
 }
Exemplo n.º 2
0
 public function reset()
 {
     $this->close();
     $conn = $this->connect();
     NimbleRecord::set_connection($conn);
 }