original_string: public function hasFilesWithName($pattern)
      {
          $result = $this->getFiles(Finder::create()->name($pattern));
  
          return count($result) !== 0;
      }
code: public function hasFilesWithName($pattern)
      {
          $result = $this->getFiles(Finder::create()->name($pattern));
  
          return count($result) !== 0;
      }
code_tokens: public function hasFilesWithName ( $ pattern ) { $ result = $ this -> getFiles ( Finder :: create ( ) -> name ( $ pattern ) ) ; return count ( $ result ) !== 0 ; }
docstring: Determine if the plugin has any files with a given name pattern.
  
  @param string $pattern File name pattern
  
  @return bool
docstring_tokens: Determine if the plugin has any files with a given name pattern .