Class Configuration
- Aws\ClientSideMonitoring\Configuration implements Aws\ClientSideMonitoring\ConfigurationInterface
- Namespace: Aws\ClientSideMonitoring
- Located at ClientSideMonitoring/Configuration.php
Provides access to client-side monitoring configuration options: 'client_id', 'enabled', 'host', 'port'
Methods Summary
-
__construct ( mixed $enabled, string $host, string|int $port, string $clientId = '' )
Constructs a new Configuration object with the specified CSM options set.
-
isEnabled ( )
Checks whether or not client-side monitoring is enabled.
-
getClientId ( )
Returns the Client ID, if available.
-
getHost ( )
/Returns the configured host.
-
getPort ( )
Returns the configured port.
-
toArray ( )
Returns the configuration as an associative array.
Methods Details
__construct ( mixed $enabled, string $host, string|integer $port, string $clientId = '' )
Constructs a new Configuration object with the specified CSM options set.
Parameters
mixed | $enabled | |
string | $host | |
string|integer | $port | |
string | $clientId = '' |
boolean isEnabled ( )
Checks whether or not client-side monitoring is enabled.
Returns
boolean |
Implementation of
string|null getClientId ( )
Returns the Client ID, if available.
Returns
string|null |
Implementation of
string|null getHost ( )
/Returns the configured host.
Returns
string|null |
Implementation of
integer|null getPort ( )
Returns the configured port.
Returns
integer|null |
Implementation of
array toArray ( )
Returns the configuration as an associative array.
Returns
array |