mirror of
https://github.com/friendica/friendica
synced 2025-04-22 01:50:11 +00:00
Adding REAMDEs to directories
This commit is contained in:
parent
3261ffbd99
commit
8237e73e26
9 changed files with 48 additions and 7 deletions
10
src/Module/README.md
Normal file
10
src/Module/README.md
Normal file
|
@ -0,0 +1,10 @@
|
|||
## Friendica\Module
|
||||
|
||||
The Module namespace contains the different modules of Friendica.
|
||||
Each module is loaded through the [`App`](https://github.com/friendica/friendica/blob/develop/src/App.php).
|
||||
|
||||
Rules for Modules:
|
||||
- Named like the call (i.e. https://friendica.test/contact => `Contact`)
|
||||
- Start with capitals and are **not** camelCased.
|
||||
- Directly interacting with a given request (POST or GET)
|
||||
- Extending [`BaseModule`](https://github.com/friendica/friendica/blob/develop/src/BaseModule.php).
|
Loading…
Add table
Add a link
Reference in a new issue