Version3
in package
implements
ConfigurationInterface, Normalizable
Interfaces, Classes and Traits
- ConfigurationInterface
- Configuration interface.
- Normalizable
Table of Contents
- $defaultTemplateName : string
- __construct() : mixed
- getConfigTreeBuilder() : TreeBuilder
- Generates the configuration tree builder.
- normalize() : array<string|int, mixed>
- apiSection() : ArrayNodeDefinition
- guideSection() : ArrayNodeDefinition
- paths() : ArrayNodeDefinition
- source() : ArrayNodeDefinition
Properties
$defaultTemplateName
private
string
$defaultTemplateName
This is injected so that the name of the default template can be defined globally in the app
Methods
__construct()
public
__construct(string $defaultTemplateName) : mixed
Parameters
- $defaultTemplateName : string
Return values
mixed —getConfigTreeBuilder()
Generates the configuration tree builder.
public
getConfigTreeBuilder() : TreeBuilder
Return values
TreeBuilder —normalize()
public
normalize(array<string|int, mixed> $configuration) : array<string|int, mixed>
Parameters
- $configuration : array<string|int, mixed>
Return values
array<string|int, mixed> —apiSection()
private
apiSection() : ArrayNodeDefinition
Return values
ArrayNodeDefinition —guideSection()
private
guideSection() : ArrayNodeDefinition
Return values
ArrayNodeDefinition —paths()
private
paths([array<string|int, string> $defaultValue = [] ]) : ArrayNodeDefinition
Parameters
- $defaultValue : array<string|int, string> = []
Return values
ArrayNodeDefinition —source()
private
source([array<string|int, string> $defaultPaths = [] ]) : ArrayNodeDefinition
Parameters
- $defaultPaths : array<string|int, string> = []