src/Db/ImageAggrDbAgent.php
public function deleteResize(ARef $aRef, ImageSettingInterface $imageSetting, ResizeSettingInterface $resizeSetting)
    {
        $owner_name = $aRef->getType()->getName();
        $image_name = $imageSetting->getName();
        $resize_name = $resizeSetting->getName();
        $owner_id = $aRef->getId();

        Resize::where('entity_name', '=', $owner_name)
            ->where('entity_id', '=', $owner_id)
            ->where('image_name', '=', $image_name)
            ->where('name', '=', $resize_name)
            ->delete();
    }
public function deleteResize(ARef $aRef, ImageSettingInterface $imageSetting, ResizeSettingInterface $resizeSetting)
    {
        $owner_name = $aRef->getType()->getName();
        $image_name = $imageSetting->getName();
        $resize_name = $resizeSetting->getName();
        $owner_id = $aRef->getId();

        Resize::where('entity_name', '=', $owner_name)
            ->where('entity_id', '=', $owner_id)
            ->where('image_name', '=', $image_name)
            ->where('name', '=', $resize_name)
            ->delete();
    }
@param \Interpro\Core\Contracts\Ref\ARef $aRef
@param \Interpro\ImageAggr\Contracts\Settings\ImageSetting $imageSetting
@param \Interpro\ImageAggr\Contracts\Settings\ResizeSetting $resizeSetting

@return void