123456789101112131415161718192021222324252627282930 |
- <?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);
- }
- }
|