Sulu\Bundle\MediaBundle\Media\FormatCache\LocalFormatCache::analyzedMediaUrl PHP Method

analyzedMediaUrl() public method

public analyzedMediaUrl ( $url )
    public function analyzedMediaUrl($url)
    {
        if (empty($url)) {
            throw new ImageProxyUrlNotFoundException('The given url was empty');
        }
        $id = $this->getIdFromUrl($url);
        $format = $this->getFormatFromUrl($url);
        return [$id, $format];
    }