code: public function getAllDirectories()
      {
          $directories = [];
          foreach ($this->rulesets as $ruleset) {
              $dirs = GeneralUtility::trimExplode(',', $ruleset['directories_config'], true);
              $directories = array_merge($directories, $dirs);
          }
          $directories = array_unique($directories);
          asort($directories);
          return $directories;
      }
docs: Returns all directories found in the various rulesets.
  
  @return array