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