Пример #1
0
 /**
  * Delete source image and all of it's crops
  *
  * @param string $url URL of src image
  * @return void
  * @see Bkwld\Croppa\Storage::deleteSrc()
  * @see Bkwld\Croppa\Storage::deleteCrops()
  */
 public function delete($url)
 {
     $path = $this->url->relativePath($url);
     $this->storage->deleteSrc($path);
     $this->storage->deleteCrops($path);
 }