public static function boot() { parent::boot(); AdImage::deleting(function ($image) { File::delete($image->big); File::delete($image->small); }); }