コード例 #1
0
ファイル: BorrowerService.php プロジェクト: Junyue/zidisha2
 public function getFeedbackMessages(Loan $loan)
 {
     return FeedbackMessageQuery::create()->filterByLoan($loan)->orderByCreatedAt('desc')->find();
 }
コード例 #2
0
 public function getFeedbackMessages(Borrower $borrower)
 {
     return FeedbackMessageQuery::create()->filterByActivationType()->filterByBorrower($borrower)->orderByCreatedAt('desc')->find();
 }