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
2namespace Apie\Core\BackgroundProcess;
3
4use Apie\Core\Context\ApieContext;
5use Apie\Core\Lists\ItemHashmap;
6use Apie\Core\Lists\ItemList;
7
8interface BackgroundProcessDeclaration
9{
10    /**
11     * @return array<int|string, callable(ApieContext, ItemHashmap|itemList): mixed>
12     */
13    public static function retrieveDeclaration(int $version): array;
14
15    public function getCurrentVersion(): int;
16
17    public static function getMaxRetries(int $version): int;
18}