Property | Type | Description | |
---|---|---|---|
$testingEnabled | Allow the service to be tested without integration of sockets | ||
$testingServiceIsUp | Allow to define the validation return setting |
Property | Type | Description | |
---|---|---|---|
$host | The host you want to verify | ||
$port | The port you want to verify |
Method | Description | |
---|---|---|
__construct ( string | null $host = null, integer $port = 80 ) | ||
getHost ( ) : string | ||
getPort ( ) : integer | ||
isAlive ( ) | Checks if the VIES service is online and available | |
setHost ( string $host ) : |
||
setPort ( integer $port ) : |
Method | Description | |
---|---|---|
connect ( $host, $port ) : boolean | resource | Make a connection outwards to test an online service |
public static $testingEnabled |