Example #1
0
 public function __construct()
 {
     $connection = new Database('mysql:host=' . DB_HOST . ';port=' . DB_PORT . ';dbname=' . DB_NAME, DB_USERNAME, DB_PASSWORD);
     $this->database = $connection->get_database();
 }