From: Philipp Holzer Date: Sun, 3 Mar 2019 14:05:35 +0000 (+0100) Subject: Adding REAMDEs to directories X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8237e73e26592d4bedf71438a30f4725f0c557c3;p=friendica.git Adding REAMDEs to directories --- diff --git a/src/Core/Cache.php b/src/Core/Cache.php index cadb2444b5..7a8f7367ec 100644 --- a/src/Core/Cache.php +++ b/src/Core/Cache.php @@ -4,7 +4,7 @@ */ namespace Friendica\Core; -use Friendica\Core\Cache\CacheDriverFactory; +use Friendica\Factory\CacheDriverFactory; /** * @brief Class for storing data for a short time diff --git a/src/Core/Cache/CacheDriverFactory.php b/src/Core/Cache/CacheDriverFactory.php deleted file mode 100644 index 307f52a2ea..0000000000 --- a/src/Core/Cache/CacheDriverFactory.php +++ /dev/null @@ -1,48 +0,0 @@ - `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). \ No newline at end of file diff --git a/src/Object/README.md b/src/Object/README.md new file mode 100644 index 0000000000..e4089db089 --- /dev/null +++ b/src/Object/README.md @@ -0,0 +1,5 @@ +## Friendica\Object + +The namespace Object contains dynamic classes which are **note** directly interacting with the datastore. + +They are used to implement business logic for a particular object (i.e. an Image). \ No newline at end of file diff --git a/src/Worker/README.md b/src/Worker/README.md new file mode 100644 index 0000000000..fc937b33bc --- /dev/null +++ b/src/Worker/README.md @@ -0,0 +1,6 @@ +## Friendica\Worker + +The Worker namespace contains all asynchronous workers of Friendica. +The all have to implement the function `public static function execute()`. + +They are all executed by the [`Worker`](https://github.com/friendica/friendica/blob/develop/src/Core/Worker.php). \ No newline at end of file