Remove DependencyFactory
authorPhilipp Holzer <admin+github@philipp.info>
Sun, 21 Jul 2019 18:24:16 +0000 (20:24 +0200)
committerPhilipp Holzer <admin+github@philipp.info>
Sat, 27 Jul 2019 21:54:12 +0000 (23:54 +0200)
commit6c2cf494b553833d116dbdbceea349d7f17cc728
tree9563351e4c8f91360b870518bda9fd22cc79762e
parent8b344141da6dcc6b01b498637131822fadab24ff
Remove DependencyFactory

- Include all necessary classes in `dependencies.config.php`
- Add DI-reference to BaseObject (acts as a global registry)
- Refactor all static "init()" methods to use the global registry

- Refactor Logging for Worker-Logger a little bit
21 files changed:
bin/auth_ejabberd.php
bin/console.php
bin/daemon.php
bin/worker.php
index.php
mod/settings.php
src/App.php
src/BaseObject.php
src/Core/Config.php
src/Core/Installer.php
src/Core/L10n.php
src/Core/L10n/L10n.php
src/Core/Logger.php
src/Core/PConfig.php
src/Core/Worker.php
src/Database/DBA.php
src/Database/Database.php
src/Factory/ConfigFactory.php
src/Factory/DependencyFactory.php [deleted file]
src/Factory/LoggerFactory.php
src/Util/Logger/WorkerLogger.php