/** * get document list by Paginator * 문서 리스트 조회 * * @param array $wheres make where query * @param array $orders make order query * @param ConfigEntity $config config entity * @param int $perPage pre page of list * @param array $columns get columns * @return LengthAwarePaginator */ public function paginate(array $wheres = null, array $orders = null, ConfigEntity $config = null, $perPage = 20, array $columns = ['*']) { return $this->document->paginate($wheres, $orders, $config, $perPage, $columns); }