Configuration Value Objects
Definition
namespace IntegerNet\Solr\Config;
final class ServerConfig
{
private $host, $port; // ...
public function __construct($host, $port, ...)
{
$this->host = $host;
$this->port = $port;
// ...
}
public function getHost()
{
return $this->host;
}
public function getPort()
{
return $this->port;
}
// ...
}
19 / 62