30 lines
606 B
PHP
30 lines
606 B
PHP
<?php
|
|
|
|
namespace UglyRobot\Infinite_Uploads\Aws\EndpointDiscovery;
|
|
|
|
/**
|
|
* Provides access to endpoint discovery configuration options:
|
|
* 'enabled', 'cache_limit'
|
|
*/
|
|
interface ConfigurationInterface
|
|
{
|
|
/**
|
|
* Checks whether or not endpoint discovery is enabled.
|
|
*
|
|
* @return bool
|
|
*/
|
|
public function isEnabled();
|
|
/**
|
|
* Returns the cache limit, if available.
|
|
*
|
|
* @return string|null
|
|
*/
|
|
public function getCacheLimit();
|
|
/**
|
|
* Returns the configuration as an associative array
|
|
*
|
|
* @return array
|
|
*/
|
|
public function toArray();
|
|
}
|