exampleapp/modules/Tasks/Infrastructure/OtherQueries/OtherQuery.php

24 lines
416 B
PHP

<?php
namespace Modules\Tasks\Infrastructure\OtherQueries;
class OtherQuery
{
private array $data = [
[
'key' => 'owner',
'value' => 'status',
],
];
public function getForTasks(array $tasksIds): array
{
$result = [];
foreach ($tasksIds as $taskId) {
$result[$taskId] = $this->data;
}
return $this->data;
}
}