first commit
This commit is contained in:
20
app/Core/Service/JobsService.php
Normal file
20
app/Core/Service/JobsService.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace App\Core\Service;
|
||||
use App\Core\Repository\Jobs\JobsRepository;
|
||||
|
||||
class JobsService
|
||||
{
|
||||
private $jobsRepository;
|
||||
public function __construct ( JobsRepository $jobsRepository )
|
||||
{
|
||||
$this->jobsRepository = $jobsRepository;
|
||||
}
|
||||
|
||||
public function getJobsList ( array $params,$columns = ["*"] )
|
||||
{
|
||||
return $this->jobsRepository->findByCriteria($params,$columns);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user