mirror of
https://github.com/bitinflow/expose.git
synced 2026-10-31 20:59:09 +00:00
wip
This commit is contained in:
1 parent
1f8865145f
commit
e5e53b8b68
41 files changed
+1593
-915
No files matched your search
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
namespace App\Server;
|
||||
|
||||
class Configuration
|
||||
{
|
||||
/** @var string */
|
||||
protected $hostname;
|
||||
|
||||
/** @var int */
|
||||
protected $port;
|
||||
|
||||
public function __construct(string $hostname, int $port)
|
||||
{
|
||||
$this->hostname = $hostname;
|
||||
|
||||
$this->port = $port;
|
||||
}
|
||||
|
||||
public function hostname(): string
|
||||
{
|
||||
return $this->hostname;
|
||||
}
|
||||
|
||||
public function port(): int
|
||||
{
|
||||
return $this->port;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user