original_string: public function getRootLocalFolderFileList()
      {
          $spoolFolder = $this->_config->getHostSpoolerFolderPath();
  
          /** @var IteratorIterator $objects */
          $objects = new IteratorIterator(
              new DirectoryIterator($spoolFolder)
          );
  
          /** @var array $files */
          $files = [];
  
          /**
           * @var string $name
           * @var SplFileObject $object
           */
          foreach ($objects as $path => $object) {
              /** @noinspection TypeUnsafeComparisonInspection */
              /** @noinspection NotOptimalIfConditionsInspection */
              if ($object->getFilename() != '.' && $object->getFilename() != '..') {
                  /** @noinspection PhpMethodOrClassCallIsNotCaseSensitiveInspection */
                  $shortFilePath = str_replace($spoolFolder, '', $object->getPathName());
  
                  /** @noinspection PhpMethodOrClassCallIsNotCaseSensitiveInspection */
                  $files[] = [
                      'name' => $object->getFilename(),
                      'localPath' => $object->getPathName(),
                      'remotePath' => $shortFilePath,
                      'modified' => $object->getMTime()
                  ];
              }
          }
  
          return $files;
      }
code: public function getRootLocalFolderFileList()
      {
          $spoolFolder = $this->_config->getHostSpoolerFolderPath();
  
          /** @var IteratorIterator $objects */
          $objects = new IteratorIterator(
              new DirectoryIterator($spoolFolder)
          );
  
          /** @var array $files */
          $files = [];
  
          /**
           * @var string $name
           * @var SplFileObject $object
           */
          foreach ($objects as $path => $object) {
              /** @noinspection TypeUnsafeComparisonInspection */
              /** @noinspection NotOptimalIfConditionsInspection */
              if ($object->getFilename() != '.' && $object->getFilename() != '..') {
                  /** @noinspection PhpMethodOrClassCallIsNotCaseSensitiveInspection */
                  $shortFilePath = str_replace($spoolFolder, '', $object->getPathName());
  
                  /** @noinspection PhpMethodOrClassCallIsNotCaseSensitiveInspection */
                  $files[] = [
                      'name' => $object->getFilename(),
                      'localPath' => $object->getPathName(),
                      'remotePath' => $shortFilePath,
                      'modified' => $object->getMTime()
                  ];
              }
          }
  
          return $files;
      }
code_tokens: public function getRootLocalFolderFileList ( ) { $ spoolFolder = $ this -> _config -> getHostSpoolerFolderPath ( ) ; /** @var IteratorIterator $objects */ $ objects = new IteratorIterator ( new DirectoryIterator ( $ spoolFolder ) ) ; /** @var array $files */ $ files = [ ] ; /**
           * @var string $name
           * @var SplFileObject $object
           */ foreach ( $ objects as $ path => $ object ) { /** @noinspection TypeUnsafeComparisonInspection */ /** @noinspection NotOptimalIfConditionsInspection */ if ( $ object -> getFilename ( ) != '.' && $ object -> getFilename ( ) != '..' ) { /** @noinspection PhpMethodOrClassCallIsNotCaseSensitiveInspection */ $ shortFilePath = str_replace ( $ spoolFolder , '' , $ object -> getPathName ( ) ) ; /** @noinspection PhpMethodOrClassCallIsNotCaseSensitiveInspection */ $ files [ ] = [ 'name' => $ object -> getFilename ( ) , 'localPath' => $ object -> getPathName ( ) , 'remotePath' => $ shortFilePath , 'modified' => $ object -> getMTime ( ) ] ; } } return $ files ; }
docstring: Get Folder list for host spooler folder path
  
  @return string[]
docstring_tokens: Get Folder list for host spooler folder path