public function __construct($options) { //$this->logger = new DatabaseLogger(); $this->options = $options; $this->connect($options); NimbleRecord::set_connection($this->connection); }
public function reset() { $this->close(); $conn = $this->connect(); NimbleRecord::set_connection($conn); }