Sulu\Bundle\MediaBundle\Media\ImageConverter\ImagineImageConverter::getFormat PHP Метод

getFormat() приватный Метод

Return the options for the given format.
private getFormat ( $formatKey ) : array
$formatKey
Результат array
    private function getFormat($formatKey)
    {
        if (!isset($this->formats[$formatKey])) {
            throw new ImageProxyInvalidImageFormat('Format was not found');
        }
        return $this->formats[$formatKey];
    }