Curl стал основой, а также классы бд стали информативней в логах

This commit is contained in:
2024-08-29 09:34:16 +03:00
parent 04406fb444
commit 5e0f59f8c5
3 changed files with 70 additions and 15 deletions

View File

@ -29,6 +29,11 @@ class DatabaseConfig
$this->password = $config['DB_PASSWORD'];
}
public function getDBName(): string
{
return $this->dbname;
}
public function getDsn() : string
{
return $this->driver.":host=".$this->host