2026-09-22 14:08:50 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
|
|
namespace Domain\Ports\Repositories;
|
|
|
|
|
|
2026-09-23 09:29:22 +02:00
|
|
|
use Domain\Models\Entities\CampaignRequest;
|
|
|
|
|
use Domain\Models\ValueObjects\CampaignRequest\CampaignRequestId;
|
2026-09-22 14:08:50 +02:00
|
|
|
use Shared\DDD\Ports\Repository;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @extends \Shared\DDD\Ports\Repository<\Domain\Models\ValueObjects\Brand\BrandId, \Domain\Models\Entities\Brand>
|
|
|
|
|
*/
|
2026-09-23 09:40:47 +02:00
|
|
|
interface CampaignRequestRepository extends Repository
|
|
|
|
|
{
|
|
|
|
|
public function findById(CampaignRequestId $id): ?CampaignRequest;
|
2026-09-23 09:24:18 +02:00
|
|
|
}
|