/** * Chains all criteria objects together and returns true if all criteria return true. * * @param RentRecoveryPlusReference $reference * @return bool */ public function isSatisfiedBy(RentRecoveryPlusReference $reference) { return $this->statusCriteria->plus($this->suitableGuarantorCriteria)->plus($this->guarantorOutcomeCriteria)->isSatisfiedBy($reference); }
/** * Chains all criteria objects together and returns true if all criteria return true. * * @param RentRecoveryPlusReference $reference * @return bool */ public function isSatisfiedBy(RentRecoveryPlusReference $reference) { return $this->statusCriteria->plus($this->creditScoreCriteria)->plus($this->adverseCreditCriteria)->plus($this->employmentCriteria)->isSatisfiedBy($reference); }
/** * Returns true if the left && right criteria evaluate to true * * @param RentRecoveryPlusReference $reference * @return bool */ public function isSatisfiedBy(RentRecoveryPlusReference $reference) { $left = $this->left->isSatisfiedBy($reference); $right = $this->right->isSatisfiedBy($reference); return $left && $right; }
/** * Wrapper for getNotSatisifiedText() on the $criteriaStrategy. * * @return string */ public function getNotSatisfiedText() { return $this->criteriaStrategy->getNotSatisfiedText(); }
/** * Chains all criteria objects together and returns true if all criteria return true. * * @param RentRecoveryPlusReference $reference * @return bool */ public function isSatisfiedBy(RentRecoveryPlusReference $reference) { return $this->statusCriteria->isSatisfiedBy($reference); }