diff --git a/src/Alias/Database.php b/src/Alias/Database.php new file mode 100644 index 0000000..8ece3db --- /dev/null +++ b/src/Alias/Database.php @@ -0,0 +1,58 @@ +host = $host; + return $this; + } + public function getHost(): string + { + return $this->host; + } + protected int $port; + public function setPort(int $port): DatabaseInterface + { + $this->port = $port; + return $this; + } + public function getPort(): int + { + return $this->port; + } + protected string $name; + public function setName(string $name): DatabaseInterface + { + $this->name = $name; + return $this; + } + public function getName(): string + { + return $this->name; + } + protected string $username; + public function setUsername(string $username): DatabaseInterface + { + $this->username = $username; + return $this; + } + public function getUsername(): string + { + return $this->username; + } + protected string $password; + public function setPassword(string $password): DatabaseInterface + { + $this->password = $password; + return $this; + } + public function getPassword(): string + { + return $this->password; + } +}