You are here

public function ScannerInterface::scan in Default Content for D8 8

Returns a list of file objects.

Parameters

string $directory: Absolute path to the directory to search.

Return value

object[] List of stdClass objects with name and uri properties.

1 method overrides ScannerInterface::scan()
Scanner::scan in src/Scanner.php
Returns a list of file objects.

File

src/ScannerInterface.php, line 19

Class

ScannerInterface
A scanner to find YAML files in a given folder.

Namespace

Drupal\default_content

Code

public function scan($directory);