コード例 #1
0
ファイル: Factory.php プロジェクト: buttasg/cowgirlk
 /**
  * Router for grabbing the correct payment model
  * 
  * @return bool|mixed
  */
 public function getPaymentModel()
 {
     if ($this->validatePaymentClass()) {
         return $this->getPaymentClass()->getPaymentModel();
     }
     return parent::getPaymentModel();
 }