X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=doc%2Fautoloader.md;h=e1588688f187443066396031e2be023205957efe;hb=85e36abb5f4acf3de263db80f301c5c63e00c62a;hp=29d3a005fdb0c1fc9f2aa9cf678353e2098d68cb;hpb=c845415a99ebc348103815a7b2c55b15c75cdd24;p=friendica.git diff --git a/doc/autoloader.md b/doc/autoloader.md index 29d3a005fd..e1588688f1 100644 --- a/doc/autoloader.md +++ b/doc/autoloader.md @@ -47,8 +47,10 @@ The code will be something like: // mod/network.php getAll(); // pass $items to template @@ -117,6 +119,8 @@ If your code is in same namespace as the class you need, you don't need to prepe namespace Friendica; +use Friendica\Protocol\DFRN; + // this is the same content of current include/delivery.php, // but has been declared to be in "Friendica" namespace