| 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: | |
| 13: | namespace Clansuite\Capture\Storage; |
| 14: | |
| 15: | use Clansuite\Capture\CaptureResult; |
| 16: | |
| 17: | interface 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: | } |
| 28: |