<?php

declare(strict_types=1);

namespace App\Listeners\Storage;

use App\Contracts\Events\RemoveFromStorageEvent;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;

class RemoveFromStorage implements ShouldQueue
{
    use Dispatchable;
    use InteractsWithQueue;

    public function handle(RemoveFromStorageEvent $event): void
    {
        $event->removeFromStorage();
    }
}
