| Server IP : 85.158.181.41 / Your IP : 216.73.217.12 Web Server : Apache System : Linux cloud9-vm129 6.1.178+1-ph #ph SMP PREEMPT_DYNAMIC Wed Jul 29 09:00:54 UTC 2026 x86_64 User : moncbefd ( 1024) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/moncbefd/www.moneta.at/vendor/gambio-hub/hubpublic/src/ValueObjects/ |
Upload File : |
<?php
namespace HubPublic\ValueObjects;
/**
* Class HubClientInformation
*
* Provides information about a client of the hub
*
* @package HubPublic\ValueObjects
*/
class HubClientInformation
{
/**
* Hub client key
*
* @var HubClientKey
*/
private $key;
/**
* Client version
*
* @var string;
*/
private $version;
/**
* Client URL
*
* @var
*/
private $url;
/**
* HubClientInformation constructor.
*
* @param \HubPublic\ValueObjects\HubClientKey $key HubClientKey instance
* @param string $version Client version
* @param string $url Client URL
*/
public function __construct(HubClientKey $key, $version, $url)
{
$this->key = $key;
$this->version = $version;
$this->url = $url;
}
/**
* Returns a hub client key.
*
* @return HubClientKey Hub client key
*/
public function getClientKey()
{
return $this->key;
}
/**
* Returns the client version.
*
* @return string Client version
*/
public function getClientVersion()
{
return $this->version;
}
/**
* Returns the client URL.
*
* @return string Client URL
*/
public function getClientUrl()
{
return $this->url;
}
}