$criteria = Criteria::create()->where(Criteria::expr()->eq('status', Payment::STATUS_DUE)); return $this->getPayments()->matching($criteria);