Skip to content

Commit 5fa50e5

Browse files
committed
refactor: remove unneeded abstract public methods
1 parent 7a631a1 commit 5fa50e5

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

system/Database/BaseConnection.php

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -426,13 +426,6 @@ public function initialize()
426426
$this->connectDuration = microtime(true) - $this->connectTime;
427427
}
428428

429-
/**
430-
* Connect to the database.
431-
*
432-
* @return mixed
433-
*/
434-
abstract public function connect(bool $persistent = false);
435-
436429
/**
437430
* Close the database connection.
438431
*/
@@ -461,14 +454,6 @@ public function persistentConnect()
461454
return $this->connect(true);
462455
}
463456

464-
/**
465-
* Keep or establish the connection if no queries have been sent for
466-
* a length of time exceeding the server's idle timeout.
467-
*
468-
* @return mixed
469-
*/
470-
abstract public function reconnect();
471-
472457
/**
473458
* Returns the actual connection object. If both a 'read' and 'write'
474459
* connection has been specified, you can pass either term in to
@@ -483,13 +468,6 @@ public function getConnection(?string $alias = null)
483468
return $this->connID;
484469
}
485470

486-
/**
487-
* Select a specific database table to use.
488-
*
489-
* @return mixed
490-
*/
491-
abstract public function setDatabase(string $databaseName);
492-
493471
/**
494472
* Returns the name of the current database being used.
495473
*/
@@ -526,11 +504,6 @@ public function getPlatform(): string
526504
return $this->DBDriver;
527505
}
528506

529-
/**
530-
* Returns a string containing the version of the database being used.
531-
*/
532-
abstract public function getVersion(): string;
533-
534507
/**
535508
* Sets the Table Aliases to use. These are typically
536509
* collected during use of the Builder, and set here

0 commit comments

Comments
 (0)