diff --git a/HttpCachingBridgeAbstract.md b/HttpCachingBridgeAbstract.md index 3452039..528c8b1 100644 --- a/HttpCachingBridgeAbstract.md +++ b/HttpCachingBridgeAbstract.md @@ -50,16 +50,14 @@ This is the template for a new bridge: ```PHP maintainer = 'No maintainer'; - $this->name = 'Unnamed bridge'; - $this->uri = ''; - $this->description = 'No description provided'; - $this->parameters = array(); - } +class MySiteBridge extends HttpCachingBridgeAbstract { + const MAINTAINER = 'No maintainer'; + const NAME = 'Unnamed bridge'; + const URI = ''; + const DESCRIPTION = 'No description provided'; + const PARAMETERS = array(); - public function collectData(array $params){ + public function collectData(){ // Implement your bridge here! // Example for caching a page with automatic removal after 12 hours