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