Example #1
0
 public function getFeedbackMessages(Loan $loan)
 {
     return FeedbackMessageQuery::create()->filterByLoan($loan)->orderByCreatedAt('desc')->find();
 }
 public function getFeedbackMessages(Borrower $borrower)
 {
     return FeedbackMessageQuery::create()->filterByActivationType()->filterByBorrower($borrower)->orderByCreatedAt('desc')->find();
 }