ReadOnlyConfiguration
in package
implements
ConfigurationInterface
FinalYes
Provides read-only access to a given Configuration object
Table of Contents
Interfaces
- ConfigurationInterface
- Interface for reading configuration values
Properties
Methods
- __construct() : mixed
- exists() : bool
- get() : mixed
Properties
$config
private
Configuration
$config
Methods
__construct()
public
__construct(Configuration $config) : mixed
Parameters
- $config : Configuration
exists()
public
exists(string $key) : bool
Parameters
- $key : string
-
Configuration option path/key
Return values
bool —Whether the given option exists
get()
public
get(string $key) : mixed
Parameters
- $key : string
-
Configuration option path/key