diff options
Diffstat (limited to 'lib/BridgeAbstract.php')
-rw-r--r-- | lib/BridgeAbstract.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/BridgeAbstract.php b/lib/BridgeAbstract.php index 6158e3b9..917f5fec 100644 --- a/lib/BridgeAbstract.php +++ b/lib/BridgeAbstract.php @@ -41,6 +41,13 @@ abstract class BridgeAbstract implements BridgeInterface { const URI = ''; /** + * Donation URI to the site the bridge is intended to be used for. + * + * Use {@see BridgeAbstract::getDonationURI()} to read this parameter + */ + const DONATION_URI = ''; + + /** * A brief description of what the bridge can do * * Use {@see BridgeAbstract::getDescription()} to read this parameter @@ -342,6 +349,11 @@ abstract class BridgeAbstract implements BridgeInterface { } /** {@inheritdoc} */ + public function getDonationURI(){ + return static::DONATION_URI; + } + + /** {@inheritdoc} */ public function getCacheTimeout(){ return static::CACHE_TIMEOUT; } |