Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phortune/provider/PhortunePaymentProvider.php
| Show First 20 Lines • Show All 112 Lines • ▼ Show 20 Lines | /* -( Configuring Providers )---------------------------------------------- */ | ||||
| } | } | ||||
| /* -( Selecting Providers )------------------------------------------------ */ | /* -( Selecting Providers )------------------------------------------------ */ | ||||
| public static function getAllProviders() { | public static function getAllProviders() { | ||||
| return id(new PhutilSymbolLoader()) | return id(new PhutilSymbolLoader()) | ||||
| ->setAncestorClass('PhortunePaymentProvider') | ->setAncestorClass(__CLASS__) | ||||
| ->loadObjects(); | ->loadObjects(); | ||||
| } | } | ||||
| public function isEnabled() { | public function isEnabled() { | ||||
| return $this->getProviderConfig()->getIsEnabled(); | return $this->getProviderConfig()->getIsEnabled(); | ||||
| } | } | ||||
| abstract public function isAcceptingLivePayments(); | abstract public function isAcceptingLivePayments(); | ||||
| ▲ Show 20 Lines • Show All 167 Lines • Show Last 20 Lines | |||||