original_string: protected function _generateFiles() {
          foreach ($this->selectedArtifacts as $artifact) {
              $settings = $artifact->getGeneratorSettings(static::getKey());
  
              foreach ($this->getFileOrDirectorySettings($settings, "files") as $file)
                  $this->_processFileSpecification(
                      $artifact, fphp\Specification\FileSpecification::fromArrayAndSettings($file, $settings));
  
              foreach ($this->getFileOrDirectorySettings($settings, "directories") as $directory) {
                  $directorySpecification = fphp\Specification\DirectorySpecification::fromArrayAndSettings($directory, $settings);
                  
                  foreach ($directorySpecification->getFileSpecifications() as $fileSpecification)
                      $this->_processFileSpecification($artifact, $fileSpecification);
              }
          }
      }
code: protected function _generateFiles() {
          foreach ($this->selectedArtifacts as $artifact) {
              $settings = $artifact->getGeneratorSettings(static::getKey());
  
              foreach ($this->getFileOrDirectorySettings($settings, "files") as $file)
                  $this->_processFileSpecification(
                      $artifact, fphp\Specification\FileSpecification::fromArrayAndSettings($file, $settings));
  
              foreach ($this->getFileOrDirectorySettings($settings, "directories") as $directory) {
                  $directorySpecification = fphp\Specification\DirectorySpecification::fromArrayAndSettings($directory, $settings);
                  
                  foreach ($directorySpecification->getFileSpecifications() as $fileSpecification)
                      $this->_processFileSpecification($artifact, $fileSpecification);
              }
          }
      }
code_tokens: protected function _generateFiles ( ) { foreach ( $ this -> selectedArtifacts as $ artifact ) { $ settings = $ artifact -> getGeneratorSettings ( static :: getKey ( ) ) ; foreach ( $ this -> getFileOrDirectorySettings ( $ settings , "files" ) as $ file ) $ this -> _processFileSpecification ( $ artifact , fphp \ Specification \ FileSpecification :: fromArrayAndSettings ( $ file , $ settings ) ) ; foreach ( $ this -> getFileOrDirectorySettings ( $ settings , "directories" ) as $ directory ) { $ directorySpecification = fphp \ Specification \ DirectorySpecification :: fromArrayAndSettings ( $ directory , $ settings ) ; foreach ( $ directorySpecification -> getFileSpecifications ( ) as $ fileSpecification ) $ this -> _processFileSpecification ( $ artifact , $ fileSpecification ) ; } } }
docstring: Processes the files and directories.
docstring_tokens: Processes the files and directories .