Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php declare(strict_types=1);
2
3/**
4 * Clansuite Server Query
5 *
6 * SPDX-FileCopyrightText: 2003-2025 Jens A. Koch
7 * SPDX-License-Identifier: MIT
8 *
9 * For the full copyright and license information, please view
10 * the LICENSE file that was distributed with this source code.
11 */
12
13namespace Clansuite\Capture\Storage;
14
15use Clansuite\Capture\CaptureResult;
16
17interface FixtureStorageInterface
18{
19    public function save(string $protocol, string $version, string $ip, int $port, CaptureResult $result): string;
20
21    public function load(string $protocol, string $version, string $ip, int $port): ?CaptureResult;
22
23    /**
24     * @return array<mixed>
25     */
26    public function listAll(): array;
27}