| 1 |
<?php |
| 2 |
|
| 3 |
namespace Dudlewebs\WPMCS\s3\Aws\ClientSideMonitoring; |
| 4 |
|
| 5 |
/** |
| 6 |
* Provides access to client-side monitoring configuration options: |
| 7 |
* 'client_id', 'enabled', 'host', 'port' |
| 8 |
*/ |
| 9 |
interface ConfigurationInterface |
| 10 |
{ |
| 11 |
/** |
| 12 |
* Checks whether or not client-side monitoring is enabled. |
| 13 |
* |
| 14 |
* @return bool |
| 15 |
*/ |
| 16 |
public function isEnabled(); |
| 17 |
/** |
| 18 |
* Returns the Client ID, if available. |
| 19 |
* |
| 20 |
* @return string|null |
| 21 |
*/ |
| 22 |
public function getClientId(); |
| 23 |
/** |
| 24 |
* Returns the configured host. |
| 25 |
* |
| 26 |
* @return string|null |
| 27 |
*/ |
| 28 |
public function getHost(); |
| 29 |
/** |
| 30 |
* Returns the configured port. |
| 31 |
* |
| 32 |
* @return int|null |
| 33 |
*/ |
| 34 |
public function getPort(); |
| 35 |
/** |
| 36 |
* Returns the configuration as an associative array. |
| 37 |
* |
| 38 |
* @return array |
| 39 |
*/ |
| 40 |
public function toArray(); |
| 41 |
} |
| 42 |
|