fix
This commit is contained in:
parent
fbf2aaae07
commit
37599e8cf6
|
@ -7,4 +7,5 @@ use Fufle\ORM\Database\Credentials;
|
||||||
interface IConnector {
|
interface IConnector {
|
||||||
public function getConnectionString(Credentials $credentials);
|
public function getConnectionString(Credentials $credentials);
|
||||||
public function driverEquals(string $driver);
|
public function driverEquals(string $driver);
|
||||||
|
public static function Connect(string $host, int $port, string $database, string $user, string $password);
|
||||||
}
|
}
|
|
@ -3,6 +3,7 @@
|
||||||
namespace Fufle\ORM\Database\Connectors;
|
namespace Fufle\ORM\Database\Connectors;
|
||||||
|
|
||||||
use Fufle\ORM\Database\Credentials;
|
use Fufle\ORM\Database\Credentials;
|
||||||
|
use Fufle\ORM\Database\ConnectionManager;
|
||||||
|
|
||||||
class PostgresConnector implements IConnector {
|
class PostgresConnector implements IConnector {
|
||||||
public function getConnectionString(Credentials $c) {
|
public function getConnectionString(Credentials $c) {
|
||||||
|
|
Loading…
Reference in New Issue