src/Operation/CleanOperation.php
public function execute(ARef $aRef, ImageSetting $imageSetting)
    {
        $this->checkOwner($aRef);

        $this->deleteAllFiles($aRef, $imageSetting);

        $this->dbAgent->imageToDb($aRef, $imageSetting, ['link' => '']);

        $this->makeSameImageResizes($aRef, $imageSetting, '');
        $this->makeSameImageCrops($aRef, $imageSetting, '');
    }
public function execute(ARef $aRef, ImageSetting $imageSetting)
    {
        $this->checkOwner($aRef);

        $this->deleteAllFiles($aRef, $imageSetting);

        $this->dbAgent->imageToDb($aRef, $imageSetting, ['link' => '']);

        $this->makeSameImageResizes($aRef, $imageSetting, '');
        $this->makeSameImageCrops($aRef, $imageSetting, '');
    }
@param \Interpro\Core\Contracts\Ref\ARef
@param \Interpro\ImageAggr\Contracts\Settings\ImageSetting $imageSetting

@return void