public function FileReadOnlyStorag8b7c:f320:99b9:690f:4595:cd17:293a:c069listAll public FileReadOnlyStorag8b7c:f320:99b9:690f:4595:cd17:293a:c069listAll() Lists all the files in the storage. Return value  array Array of filenames. Overrides PhpStorageInter8b7c:f320:99b9:690f:4595:cd17:293a:c069listAll File
 core/lib/Drupal/Component/PhpStorage/FileReadOnlyStorage.php, line 85  Class
 
FileReadOnlyStorage  Reads code as regular PHP files, but won't write them.  Namespace Drupal\Component\PhpStorage Code public function listAll() {
  $names = array();
  if (file_exists($this->directory)) {
    foreach (new \DirectoryIterator($this->directory) as $fileinfo) {
      if (!$fileinfo->isDot()) {
        $name = $fileinfo->getFilename();
        if ($name != '.htaccess') {
          $names[] = $name;
        }
      }
    }
  }
  return $names;
}


    
{'path': 'public/docs/drupal~8/core-lib-drupal-component-phpstorage-filereadonlystorage.php/function/filereadonlystorage-listall/8.1.x.html', 'source': 'DevDocs.IO'}