X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=doc%2Fautoloader.md;h=e1588688f187443066396031e2be023205957efe;hb=6c90005363c7164956501c044cc4f7a449317ff5;hp=29d3a005fdb0c1fc9f2aa9cf678353e2098d68cb;hpb=aa13302bbc81f052e919698125a22542f026fc95;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