src/Utility/FileUpload.php
public function getThumbnails(FileStorage $entity) : array
    {
        $versions = (array)Configure::read('FileStorage.imageHashes.file_storage');
        if (empty($versions)) {
            return [];
        }

        $result = [];
        foreach (array_keys($versions) as $version) {
            $result[$version] = $this->getThumbnail($entity, (string)$version);
        }

        return $result;
    }
public function getThumbnails(FileStorage $entity) : array
    {
        $versions = (array)Configure::read('FileStorage.imageHashes.file_storage');
        if (empty($versions)) {
            return [];
        }

        $result = [];
        foreach (array_keys($versions) as $version) {
            $result[$version] = $this->getThumbnail($entity, (string)$version);
        }

        return $result;
    }
public function getThumbnails ( FileStorage $ entity ) : array { $ versions = ( array ) Configure :: read ( 'FileStorage.imageHashes.file_storage' ) ; if ( empty ( $ versions ) ) { return [ ] ; } $ result = [ ] ; foreach ( array_keys ( $ versions ) as $ version ) { $ result [ $ version ] = $ this -> getThumbnail ( $ entity , ( string ) $ version ) ; } return $ result ; }
File storage entity thumbnails getter.

@param \Burzum\FileStorage\Model\Entity\FileStorage $entity File storage entity
@return string[]
File storage entity thumbnails getter .