diff --git a/code/src/Infrastructure/DatabaseConnection.php b/code/src/Infrastructure/DatabaseConnection.php index e605a23..b445e96 100644 --- a/code/src/Infrastructure/DatabaseConnection.php +++ b/code/src/Infrastructure/DatabaseConnection.php @@ -23,4 +23,9 @@ class DatabaseConnection implements DatabaseConnectionInterface { return $this->pdo; } + + public function getName(): string + { + return $this->name; + } } diff --git a/code/src/Infrastructure/User/BasicUserAuthorization.php b/code/src/Infrastructure/User/BasicUserAuthorization.php new file mode 100644 index 0000000..2146b3f --- /dev/null +++ b/code/src/Infrastructure/User/BasicUserAuthorization.php @@ -0,0 +1,22 @@ +