[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/phortune/exception/ -> PhortuneNoPaymentProviderException.php (source)

   1  <?php
   2  
   3  final class PhortuneNoPaymentProviderException extends Exception {
   4  
   5    public function __construct(PhortunePaymentMethod $method) {
   6      $type = $method->getMetadataValue('type');
   7  
   8      return parent::__construct(
   9        "No available payment provider can handle charging payments for this ".
  10        "payment method. You may be able to use a different payment method to ".
  11        "complete this transaction. The payment method type is '{$type}'.");
  12    }
  13  
  14  }


Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1