src/Sulu/Bundle/MediaBundle/Media/ImageConverter/ImagineImageConverter.php
private function getFormat($formatKey)
    {
        if (!isset($this->formats[$formatKey])) {
            throw new ImageProxyInvalidImageFormat('Format was not found');
        }

        return $this->formats[$formatKey];
    }
private function getFormat($formatKey)
    {
        if (!isset($this->formats[$formatKey])) {
            throw new ImageProxyInvalidImageFormat('Format was not found');
        }

        return $this->formats[$formatKey];
    }
private function getFormat ( $ formatKey ) { if ( ! isset ( $ this -> formats [ $ formatKey ] ) ) { throw new ImageProxyInvalidImageFormat ( 'Format was not found' ) ; } return $ this -> formats [ $ formatKey ] ; }
Return the options for the given format.

@param $formatKey

@return array

@throws ImageProxyInvalidImageFormat
Return the options for the given format .