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]; }