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);
    }
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);
    }
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 ) ; }
Internal method to find thumbnails
@param string|null $regexpPattern `preg_match()` pattern
@param bool $sort Whether results should be sorted
@return array
Internal method to find thumbnails