public function __construct($server, $secret = null) { $this->server = $server; $this->secret = $secret; }