original_string: public function getRelativeFiles(Finder $finder)
      {
          $files = [];
          foreach ($this->getFiles($finder) as $file) {
              $files[] = str_replace($this->directory.'/', '', $file);
          }
  
          return $files;
      }
code: public function getRelativeFiles(Finder $finder)
      {
          $files = [];
          foreach ($this->getFiles($finder) as $file) {
              $files[] = str_replace($this->directory.'/', '', $file);
          }
  
          return $files;
      }
code_tokens: public function getRelativeFiles ( Finder $ finder ) { $ files = [ ] ; foreach ( $ this -> getFiles ( $ finder ) as $ file ) { $ files [ ] = str_replace ( $ this -> directory . '/' , '' , $ file ) ; } return $ files ; }
docstring: Get a list of plugin files, with paths relative to the plugin itself.
  
  @param Finder $finder The finder to use, can be pre-configured
  
  @return array Of files
docstring_tokens: Get a list of plugin files with paths relative to the plugin itself .