Files
expose/app/Client/Configuration.php
Marcel Pociot e5e53b8b68 wip
2020-04-22 12:32:29 +02:00

40 lines
597 B
PHP

<?php
namespace App\Client;
class Configuration
{
/** @var string */
protected $host;
/** @var int */
protected $port;
/** @var string|null */
protected $auth;
public function __construct(string $host, int $port, ?string $auth = null)
{
$this->host = $host;
$this->port = $port;
$this->auth = $auth;
}
public function host(): string
{
return $this->host;
}
public function auth(): ?string
{
return $this->auth;
}
public function port(): int
{
return $this->port;
}
}