TextCollector::getFilesRecursive
Helper function that searches for potential files (templates and code) to be parsed
Signature
protected function getFilesRecursive(string
$folder,
[array
$fileList = NULL,
[string
$type = NULL,
[string
$folderExclude = NULL]]] )
Parameters
$folder
—
string
- base directory to scan (will scan recursively)
$fileList
—
array
- Array to which potential files will be appended
$type
—
string
- Optional, "php" or "ss"
$folderExclude
—
string
- Regular expression matching folder names to exclude
Returns
- array
- $fileList An array of files