ConfigurationBuilderInterface
extends
MutableConfigurationInterface, SchemaBuilderInterface
in
An interface that provides the ability to set both the schema and configuration values
Table of Contents
Methods
- addSchema() : void
- Registers a new configuration schema at the given top-level key
- merge() : void
- set() : void
Methods
addSchema()
Registers a new configuration schema at the given top-level key
public
addSchema(string $key, Schema $schema) : void
Parameters
- $key : string
- $schema : Schema
merge()
public
merge([array<string, mixed> $config = [] ]) : void
Parameters
- $config : array<string, mixed> = []
set()
public
set(string $key, mixed $value) : void
Parameters
- $key : string
- $value : mixed