original_string: protected function _find($regexpPattern = null, $sort = false)
      {
          $regexpPattern = $regexpPattern ?: sprintf('[\d\w]{32}_[\d\w]{32}\.(%s)', implode('|', self::$supportedFormats));
  
          return (new Folder($this->getPath()))->find($regexpPattern, $sort);
      }
code: protected function _find($regexpPattern = null, $sort = false)
      {
          $regexpPattern = $regexpPattern ?: sprintf('[\d\w]{32}_[\d\w]{32}\.(%s)', implode('|', self::$supportedFormats));
  
          return (new Folder($this->getPath()))->find($regexpPattern, $sort);
      }
code_tokens: protected function _find ( $ regexpPattern = null , $ sort = false ) { $ regexpPattern = $ regexpPattern ? : sprintf ( '[\d\w]{32}_[\d\w]{32}\.(%s)' , implode ( '|' , self :: $ supportedFormats ) ) ; return ( new Folder ( $ this -> getPath ( ) ) ) -> find ( $ regexpPattern , $ sort ) ; }
docstring: Internal method to find thumbnails
  @param string|null $regexpPattern `preg_match()` pattern
  @param bool $sort Whether results should be sorted
  @return array
docstring_tokens: Internal method to find thumbnails