24 lines
533 B
PHP
24 lines
533 B
PHP
<?php
|
||
|
||
declare(strict_types=1);
|
||
|
||
namespace App\Modules\Inventory\Application\Contracts;
|
||
|
||
use App\Modules\Inventory\Application\DTOs\StockTaskContext;
|
||
|
||
/**
|
||
* Inventory's view of job tasks, read from the Jobs and Catalog modules.
|
||
*/
|
||
interface StockTasks
|
||
{
|
||
public function context(int $taskId): ?StockTaskContext;
|
||
|
||
/**
|
||
* Labels such as "2026-0005 Messuvideo – Tulostus" by task id.
|
||
*
|
||
* @param list<int> $taskIds
|
||
* @return array<int, string>
|
||
*/
|
||
public function labels(array $taskIds): array;
|
||
}
|