* refactor

* docs
This commit is contained in:
Dag 2024-08-30 04:37:40 +02:00 committed by GitHub
parent 6a24e53d6c
commit 9cabf60144
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 64 additions and 196 deletions

View file

@ -27,4 +27,5 @@ The file must start with the PHP tags and end with an empty line. The closing ta
// This line is empty (just imagine it!)
```
The next step is to extend one of the base classes. Refer to one of an base classes listed on the [Bridge API](../05_Bridge_API/index.md) page.
The next step is to extend one of the base classes.
Refer to one of an base classes listed on the [Bridge API](../05_Bridge_API/index.md) page.

View file

@ -50,10 +50,10 @@ For example: `MyBridge.php` => `MyBridge`
```PHP
<?PHP
class MyBridge extends BridgeAbstract {
class MyBridge extends BridgeAbstract
{
}
// This line is empty (just imagine it!)
```
</div></details>
@ -76,7 +76,8 @@ const CACHE_TIMEOUT // (optional) Defines the maximum duration for the cache in
```PHP
<?php
class MyBridge extends BridgeAbstract {
class MyBridge extends BridgeAbstract
{
const NAME = 'My Bridge';
const URI = 'https://rss-bridge.github.io/rss-bridge/Bridge_API/BridgeAbstract.html';
const DESCRIPTION = 'Returns "Hello World!"';