ScannerInterface.php in Default Content for D8 8
Namespace
Drupal\default_contentFile
src/ScannerInterface.phpView source
<?php
namespace Drupal\default_content;
/**
* A scanner to find YAML files in a given folder.
*/
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);
}
Interfaces
Name | Description |
---|---|
ScannerInterface | A scanner to find YAML files in a given folder. |