YamlDiscovery

Provides discovery for YAML files within a given set of directories.

Hierarchy

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.
doc_Drupal
2016-10-29 09:56:57
Comments
Leave a Comment

Please login to continue.