YamlDirectoryDiscovery

Discovers multiple YAML files in a set of directories.

Hierarchy

File

core/lib/Drupal/Component/Discovery/YamlDirectoryDiscovery.php, line 13

Namespace

Drupal\Component\Discovery

Members

Name Modifiers Type Description
YamlDirectoryDiscovery::$directories protected property An array of directories to scan, keyed by the provider.
YamlDirectoryDiscovery::$fileCacheKeySuffix protected property The suffix for the file cache key.
YamlDirectoryDiscovery::$idKey protected property The key contained in the discovered data that identifies it.
YamlDirectoryDiscovery::FILE_KEY constant Defines the key in the discovered data where the file path is stored.
YamlDirectoryDiscovery::findAll public function Returns an array of discoverable items. Overrides DiscoverableInterface::findAll
YamlDirectoryDiscovery::findFiles protected function Returns an array of providers keyed by file path.
YamlDirectoryDiscovery::getDirectoryIterator protected function Gets an iterator to loop over the files in the provided directory.
YamlDirectoryDiscovery::getIdentifier protected function Gets the identifier from the data.
YamlDirectoryDiscovery::__construct public function Constructs a YamlDirectoryDiscovery object.
doc_Drupal
2016-10-29 09:56:55
Comments
Leave a Comment

Please login to continue.