weitere Bearibeitung
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Core;
|
||||
|
||||
use PDO;
|
||||
|
||||
/**
|
||||
* Gemeinsames Interface für Database (MySQL) und DatabaseSqlite.
|
||||
* Ermöglicht den Betrieb beider Backends ohne Type-Errors.
|
||||
*/
|
||||
interface DatabaseInterface
|
||||
{
|
||||
public function pdo(): PDO;
|
||||
public function isConfigured(): bool;
|
||||
}
|
||||
Reference in New Issue
Block a user