<?php
declare(strict_types=1);

namespace App\Repositories;

final class UpdatePackageRegistryRepository
{
    public function snapshot(): array
    {
        die(
            '<pre>'
            . "===== UPDATE PACKAGE REGISTRY =====\n"
            . 'FILE   : ' . __FILE__ . "\n"
            . 'CLASS  : ' . __CLASS__ . "\n"
            . 'METHOD : ' . __METHOD__ . "\n"
            . 'PHP    : ' . PHP_VERSION . "\n"
        );
    }

    public function all(): array
    {
        return [];
    }

    public function latest(): array
    {
        return [];
    }

    public function find(int $packageId): ?array
    {
        return null;
    }

    public function count(): int
    {
        return 0;
    }

    public function activeDatabase(): string
    {
        return 'inconnue';
    }
}