<?php /** * Created by PhpStorm. * User: Administrator * Date: 2018/11/06 * Time: 15:00 */ namespace App\Services\Content; use App\Repositories\HrtoolsRepository; class HrtoolsService { protected $hrtoolsRepository; /** * HrtoolsService constructor. * @param $hrtoolsRepository */ public function __construct(HrtoolsRepository $hrtoolsRepository) { $this->hrtoolsRepository = $hrtoolsRepository; } public function getHrtools($where) { return $this->hrtoolsRepository->getLists($where); } }