Provides discovery for YAML files within a given set of directories.
Hierarchy
- class \Drupal\Component\Discovery\YamlDiscovery implements DiscoverableInterface
File
- core/lib/Drupal/Component/Discovery/YamlDiscovery.php, line 11
Namespace
Drupal\Component\Discovery
Members
Name | Modifiers | Type | Description |
---|---|---|---|
YamlDiscovery::$directories | protected | property | An array of directories to scan, keyed by the provider. |
YamlDiscovery::$name | protected | property | The base filename to look for in each directory. |
YamlDiscovery::decode | protected | function | Decode a YAML file. |
YamlDiscovery::findAll | public | function | Returns an array of discoverable items. Overrides DiscoverableInterface::findAll |
YamlDiscovery::findFiles | protected | function | Returns an array of file paths, keyed by provider. |
YamlDiscovery::__construct | public | function | Constructs a YamlDiscovery object. |
Please login to continue.