diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2024-11-27 19:18:12 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2025-06-29 13:25:20 +0200 |
commit | 91203660852d3f4376e14fb8733a0a9bdb1bd151 (patch) | |
tree | 7c61e6990b9c40561acbaadfc801bb3cfc0cfce1 /phpstan.neon.dist | |
parent | 07c2cca55c5ae1f14ae9a4e6058844ed5a0ca406 (diff) | |
download | volse-hubzilla-module-admin-accounts-enhancements-continued.tar.gz volse-hubzilla-module-admin-accounts-enhancements-continued.tar.bz2 volse-hubzilla-module-admin-accounts-enhancements-continued.zip |
Move database query out of Entity\Registration.module-admin-accounts-enhancements-continued
This introduces a wrapper class Zotlabs\Data\Registration, that handled
the interaction with the database, and that will _own_ the entity.
With this model entities will not be handled directly by the user code,
but we still get the separation between the business logic (in the
entity) and the database related code.
The only thing that bothers me is that we now have classes with the same
name in both the Entity and the Data subnamespaces. This is fixable,
however, but could cause some confustion right now.
Diffstat (limited to 'phpstan.neon.dist')
0 files changed, 0 insertions, 0 deletions