<?php
declare(strict_types=1);
namespace Services;

use Repositories\LeadRepository;

final class LeadService
{
    public function __construct(private ?LeadRepository $repo = null) { $this->repo ??= new LeadRepository(); }
    public function bulk(array $data): int { return $this->repo->createBulkOrder($data); }
    public function distributor(array $data): int { return $this->repo->createDistributorInquiry($data); }
    public function contact(array $data): int { return $this->repo->createContact($data); }
}
