* * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace App\Services; use App\Contracts\Repositories\PostRepository; use App\Repositories\Presenters\PostPresenter; class PostService { private $repository; public function __construct(PostRepository $repository) { $this->repository = $repository; } public function handleSearchList() { return $this->repository->searchPage(); } }