Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. FileList.php

class FileList

Same name in this branch
  1. 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\ClassMapGenerator
View 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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal