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

analyzedMediaUrl() public method

Return the id and the format of a media.
public analyzedMediaUrl ( string $url ) : array
$url string
return array ($id, $format)
    public function analyzedMediaUrl($url);

Usage Example

Beispiel #1
0
 /**
  * {@inheritdoc}
  */
 public function getMediaProperties($url)
 {
     return $this->formatCache->analyzedMediaUrl($url);
 }