interface ScannerInterface in Default Content for D8 8
A scanner to find YAML files in a given folder.
Hierarchy
- interface \Drupal\default_content\ScannerInterface
Expanded class hierarchy of ScannerInterface
All classes that implement ScannerInterface
File
- src/
ScannerInterface.php, line 8
Namespace
Drupal\default_contentView source
interface ScannerInterface {
/**
* Returns a list of file objects.
*
* @param string $directory
* Absolute path to the directory to search.
*
* @return object[]
* List of stdClass objects with name and uri properties.
*/
public function scan($directory);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ScannerInterface:: |
public | function | Returns a list of file objects. | 1 |