original_string: private function createFolderNameFromTags(array $tags)
      {
          natsort($tags);
          $tagFolder = '_';
          foreach ($tags as $t) {
              $tagFolder .= $t . '_';
          }
  
          return $this->indexDir . $tagFolder . DIRECTORY_SEPARATOR;
      }
code: private function createFolderNameFromTags(array $tags)
      {
          natsort($tags);
          $tagFolder = '_';
          foreach ($tags as $t) {
              $tagFolder .= $t . '_';
          }
  
          return $this->indexDir . $tagFolder . DIRECTORY_SEPARATOR;
      }
code_tokens: private function createFolderNameFromTags ( array $ tags ) { natsort ( $ tags ) ; $ tagFolder = '_' ; foreach ( $ tags as $ t ) { $ tagFolder .= $ t . '_' ; } return $ this -> indexDir . $ tagFolder . DIRECTORY_SEPARATOR ; }
docstring: Based on the provided list of tags, a path to the root tags folder is created.
  
  @param array $tags
  
  @return string
docstring_tokens: Based on the provided list of tags a path to the root tags folder is created .