Configuration
in package
implements
ConfigurationInterface
Table of Contents
Interfaces
- ConfigurationInterface
- Provides access to endpoint discovery configuration options: 'enabled', 'cache_limit'
Methods
- __construct() : mixed
- getCacheLimit() : string|null
- Returns the cache limit, if available.
- isEnabled() : bool
- Checks whether or not endpoint discovery is enabled.
- toArray() : array<string|int, mixed>
- Returns the configuration as an associative array
Methods
__construct()
public
__construct(mixed $enabled[, mixed $cacheLimit = 1000 ]) : mixed
Parameters
- $enabled : mixed
- $cacheLimit : mixed = 1000
getCacheLimit()
Returns the cache limit, if available.
public
getCacheLimit() : string|null
Return values
string|nullisEnabled()
Checks whether or not endpoint discovery is enabled.
public
isEnabled() : bool
Return values
booltoArray()
Returns the configuration as an associative array
public
toArray() : array<string|int, mixed>