<?php /** * Created by PhpStorm. * User: Administrator * Date: 2018/11/6 * Time: 16:13 */ namespace App\Services\Content; use App\Repositories\HrtoolsCategoryRepository; class HrtoolsCategoryService { protected $hrtoolsCategoryRepository; /** * HrtoolsService constructor. * @param $hrtoolsRepository */ public function __construct(HrtoolsCategoryRepository $hrtoolsCategoryRepository) { $this->hrtoolsCategoryRepository = $hrtoolsCategoryRepository; } public function lists($where = array()) { return $this->hrtoolsCategoryRepository->getLists($where); } }