20 lines
427 B
PHP
20 lines
427 B
PHP
<?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) {}
|
|
}
|