original_string: protected function findFiles($searchTerm, $filter, $sortBy)
      {
          $filter = $filter !== self::FILTER_EVERYTHING ? $filter : null;
  
          return MediaLibrary::instance()->findFiles($searchTerm, $sortBy, $filter);
      }
code: protected function findFiles($searchTerm, $filter, $sortBy)
      {
          $filter = $filter !== self::FILTER_EVERYTHING ? $filter : null;
  
          return MediaLibrary::instance()->findFiles($searchTerm, $sortBy, $filter);
      }
code_tokens: protected function findFiles ( $ searchTerm , $ filter , $ sortBy ) { $ filter = $ filter !== self :: FILTER_EVERYTHING ? $ filter : null ; return MediaLibrary :: instance ( ) -> findFiles ( $ searchTerm , $ sortBy , $ filter ) ; }
docstring: Finds files from within the media library based on supplied criteria,
  returns an array of MediaLibraryItem objects.
  @param string $searchTerm
  @param string $filter
  @param string $sortBy
  @param array[System\Classes\MediaLibraryItem]
docstring_tokens: Finds files from within the media library based on supplied criteria returns an array of MediaLibraryItem objects .