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

purge() public method

Delete the image by the given parameters.
public purge ( integer $id, string $fileName, array $options ) : boolean
$id integer
$fileName string
$options array
return boolean
    public function purge($id, $fileName, $options);

Usage Example

Example #1
0
 /**
  * {@inheritdoc}
  */
 public function purge($idMedia, $fileName, $options)
 {
     return $this->formatCache->purge($idMedia, $fileName, $options);
 }