optimizations
This commit is contained in:
19
app/Events/Collections/CollectionArtworkAttached.php
Normal file
19
app/Events/Collections/CollectionArtworkAttached.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Events\Collections;
|
||||
|
||||
use App\Models\Collection;
|
||||
use Illuminate\Foundation\Events\Dispatchable;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
|
||||
class CollectionArtworkAttached
|
||||
{
|
||||
use Dispatchable, SerializesModels;
|
||||
|
||||
/**
|
||||
* @param array<int, int> $artworkIds
|
||||
*/
|
||||
public function __construct(public readonly Collection $collection, public readonly array $artworkIds) {}
|
||||
}
|
||||
Reference in New Issue
Block a user