From c7d9489ae5cf3ceec1a066cacc22184116226ad6 Mon Sep 17 00:00:00 2001 From: LogMANOriginal Date: Wed, 15 Feb 2017 19:52:49 +0100 Subject: [PATCH] [BridgeAbstract] Add 'getMaintainer' function --- BridgeAbstract.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/BridgeAbstract.md b/BridgeAbstract.md index a425620..a06e58c 100644 --- a/BridgeAbstract.md +++ b/BridgeAbstract.md @@ -4,6 +4,7 @@ To create a new Bridge extending `BridgeAbstract` you must specify some [basic m - [`collectData`](#the-collectdata-function) (**required**) - [`getDescription`](#the-getdescription-function) +- [`getMaintainer`](#the-getmaintainer-function) - [`getName`](#the-getname-function) - [`getURI`](#the-geturi-function) @@ -182,6 +183,18 @@ This function returns the description of a bridge. } ``` +## The `getMaintainer` function + +This function returns the maintainer name of a bridge. + +**Notice:** **RSS-Bridge** will by default return `const MAINTAINER` which is defined in the bridge, so you only have to implement this function if you require different behavior! + +```PHP + public function getMaintainer(){ + return self::MAINTAINER; + } +``` + ## The `getName` function This function returns the name of a bridge..