ComponentProviderRegistry
in
A registry of component providers.
Table of Contents
Methods
- component() : NodeDefinition
- Creates a node to specify a component plugin.
- componentArrayList() : ArrayNodeDefinition
- Creates a node to specify a list of component plugins represented as an array.
- componentList() : ArrayNodeDefinition
- Creates a node to specify a list of component plugin.
- componentNames() : ArrayNodeDefinition
- Creates a node to specify a list of component plugin names.
Methods
component()
Creates a node to specify a component plugin.
public
component(string $name, string $type) : NodeDefinition
$name: ?ComponentPlugin<$type>
$name:
provider1:
property: value
anotherProperty: value
Parameters
- $name : string
-
name of configuration node
- $type : string
-
type of the component plugin
Return values
NodeDefinitioncomponentArrayList()
Creates a node to specify a list of component plugins represented as an array.
public
componentArrayList(string $name, string $type) : ArrayNodeDefinition
$name: list<ComponentPlugin<$type>>
$name:
- provider1:
property: value
anotherProperty: value
- provider2:
property: value
anotherProperty: value
Parameters
- $name : string
-
name of configuration node
- $type : string
-
type of the component plugin
Return values
ArrayNodeDefinitioncomponentList()
Creates a node to specify a list of component plugin.
public
componentList(string $name, string $type) : ArrayNodeDefinition
$name: list<ComponentPlugin<$type>>
$name:
provider1:
property: value
anotherProperty: value
provider2:
property: value
anotherProperty: value
Parameters
- $name : string
-
name of configuration node
- $type : string
-
type of the component plugin
Return values
ArrayNodeDefinitioncomponentNames()
Creates a node to specify a list of component plugin names.
public
componentNames(string $name, string $type) : ArrayNodeDefinition
The providers cannot have required properties.
$name: list<ComponentPlugin<$type>>
$name: [provider1, provider2]
Parameters
- $name : string
-
name of configuration node
- $type : string
-
type of the component plugin