“调用未定义的方法App \\ Repositories \\ UserRepository :: arrayPaginator()”,

时间:2018-12-05 14:49:58

标签: php

public function getAll($data){
    try{
        $user_profile=DB::select("select * from va_user_profile_defn where is_deleted=0 order by user_login_id asc");
        $user_profile = json_decode(json_encode($user_profile), true);
        $user_profile = $this->arrayPaginator();

        if (is_null($user_profile))
        {
            return "failed";
        }

    }catch(Exception $e){
        return GlobalResponse::clientErrorResponse("error");
    }

    return GlobalResponse::createResponse($user_profile);

}
}

0 个答案:

没有答案