YamlSetDefinitionProvider
Attributes
- #[Autoconfigure]
- $public: true
Table of Contents
Properties
- $sets : array<string, SetDefinition>
- $settingsTypeRegistry : SettingsTypeRegistry
Methods
- __construct() : mixed
- addSet() : void
- get() : SetDefinition
- getSetDefinitions() : array<string, SetDefinition>
- createDefinition() : SetDefinition
Properties
$sets
protected
array<string, SetDefinition>
$sets
= []
$settingsTypeRegistry read-only
protected
SettingsTypeRegistry
$settingsTypeRegistry
Methods
__construct()
public
__construct(SettingsTypeRegistry $settingsTypeRegistry) : mixed
Parameters
- $settingsTypeRegistry : SettingsTypeRegistry
addSet()
public
addSet(SetDefinition $set) : void
Parameters
- $set : SetDefinition
get()
public
get(SplFileInfo $fileInfo) : SetDefinition
Parameters
- $fileInfo : SplFileInfo
Return values
SetDefinitiongetSetDefinitions()
public
getSetDefinitions() : array<string, SetDefinition>
Return values
array<string, SetDefinition>createDefinition()
protected
createDefinition(array<string|int, mixed> $set, string $basePath) : SetDefinition
Parameters
- $set : array<string|int, mixed>
- $basePath : string