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 |
| 2 | namespace Apie\Core\BackgroundProcess; |
| 3 | |
| 4 | use Apie\Core\Context\ApieContext; |
| 5 | use Apie\Core\Lists\ItemHashmap; |
| 6 | use Apie\Core\Lists\ItemList; |
| 7 | |
| 8 | interface 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 | } |