src/Utility/FileUpload.php
public function getThumbnailSizeList(): array
    {
        $thumbnails = [];
        $versions = Configure::read('ThumbnailVersions', []);
        foreach ($versions as $version => $definition) {
            $thumbnails[$version] = sprintf(
                '%s (%d x %d)',
                ucfirst($version),
                $definition['thumbnail']['width'],
                $definition['thumbnail']['height']
            );
        }

        return $thumbnails;
    }
public function getThumbnailSizeList(): array
    {
        $thumbnails = [];
        $versions = Configure::read('ThumbnailVersions', []);
        foreach ($versions as $version => $definition) {
            $thumbnails[$version] = sprintf(
                '%s (%d x %d)',
                ucfirst($version),
                $definition['thumbnail']['width'],
                $definition['thumbnail']['height']
            );
        }

        return $thumbnails;
    }
public function getThumbnailSizeList ( ) : array { $ thumbnails = [ ] ; $ versions = Configure :: read ( 'ThumbnailVersions' , [ ] ) ; foreach ( $ versions as $ version => $ definition ) { $ thumbnails [ $ version ] = sprintf ( '%s (%d x %d)' , ucfirst ( $ version ) , $ definition [ 'thumbnail' ] [ 'width' ] , $ definition [ 'thumbnail' ] [ 'height' ] ) ; } return $ thumbnails ; }
Return all the available sizes for thumbnails

@return mixed[]
Return all the available sizes for thumbnails