ispt4.0_laravel/app/Repositories/ReceiveTasksRepository.php

34 lines
620 B
PHP

<?php
namespace App\Repositories;
use Illuminate\Support\Collection;
use Illuminate\Support\Facades\Log;
class ReceiveTasksRepository
{
protected $elementalTasks = [];
protected $furtherTasks = [];
public function setElementalTasks(array $tasks)
{
$this->elementalTasks = $tasks;
}
public function getElementalTasks(): array
{
return $this->elementalTasks;
}
public function setFurtherTasks(Collection $tasks)
{
$this->furtherTasks = $tasks;
}
public function getFurtherTasks(): Collection
{
return $this->furtherTasks;
}
}