<?php

declare(strict_types=1);

namespace Database\Seeders;

use PDO;

/**
 * SeederInterface
 *
 * Every seeder gets a live PDO connection and does its own inserts.
 * Seeders should be idempotent (safe to run more than once) — use
 * INSERT ... ON DUPLICATE KEY UPDATE or a SELECT-then-INSERT guard,
 * never a bare INSERT that would create duplicate rows on a second run.
 */
interface SeederInterface
{
    public function run(PDO $pdo): void;
}
