| 1 |
<?php |
| 2 |
|
| 3 |
namespace Dudlewebs\WPMCS\s3\Aws\EndpointDiscovery; |
| 4 |
|
| 5 |
/** |
| 6 |
* Provides access to endpoint discovery configuration options: |
| 7 |
* 'enabled', 'cache_limit' |
| 8 |
*/ |
| 9 |
interface ConfigurationInterface |
| 10 |
{ |
| 11 |
/** |
| 12 |
* Checks whether or not endpoint discovery is enabled. |
| 13 |
* |
| 14 |
* @return bool |
| 15 |
*/ |
| 16 |
public function isEnabled(); |
| 17 |
/** |
| 18 |
* Returns the cache limit, if available. |
| 19 |
* |
| 20 |
* @return string|null |
| 21 |
*/ |
| 22 |
public function getCacheLimit(); |
| 23 |
/** |
| 24 |
* Returns the configuration as an associative array |
| 25 |
* |
| 26 |
* @return array |
| 27 |
*/ |
| 28 |
public function toArray(); |
| 29 |
} |
| 30 |
|