class FileList
Same name in this branch
- 11.1.x vendor/squizlabs/php_codesniffer/src/Files/FileList.php \PHP_CodeSniffer\Files\FileList
Contains a list of files which were scanned to generate a classmap
@author Jordi Boggiano <j.boggiano@seld.be>
Hierarchy
- class \Composer\ClassMapGenerator\FileList
Expanded class hierarchy of FileList
1 file declares its use of FileList
- ClassMapGenerator.php in vendor/
composer/ composer/ src/ Composer/ Autoload/ ClassMapGenerator.php
File
-
vendor/
composer/ class-map-generator/ src/ FileList.php, line 20
Namespace
Composer\ClassMapGeneratorView source
class FileList {
/**
* @var array<non-empty-string, true>
*/
public $files = [];
/**
* @param non-empty-string $path
*/
public function add(string $path) : void {
$this->files[$path] = true;
}
/**
* @param non-empty-string $path
*/
public function contains(string $path) : bool {
return isset($this->files[$path]);
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
FileList::$files | public | property | |
FileList::add | public | function | |
FileList::contains | public | function |