]> git.mxchange.org Git - friendica.git/commit
Add new paradigm classes for notify
authorHypolite Petovan <hypolite@mrpetovan.com>
Sun, 29 Aug 2021 01:55:04 +0000 (21:55 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sat, 2 Oct 2021 22:15:34 +0000 (18:15 -0400)
commit1b4e3564a5b4e44bd2d4991bc36900753b819542
tree2b5b0290842c83a3b636fe662de1080a0415a8a2
parent810699b454067f7849286bd63346df9f2d659e78
Add new paradigm classes for notify

- Create BaseDepository class
- Create Entity, Collection, Factory and Depository classes
- Create FormattedNotification Entity, Collection and Factory to remove business logic from Notify repository
- Create new NotificationCreationIntercepted exception to allow addons to cancel notification creation
- Remove unused frio notifications/notify.tpl template
src/BaseCollection.php
src/BaseDepository.php [new file with mode: 0644]
src/Capabilities/ICanCreateFromTableRow.php [new file with mode: 0644]
src/Navigation/Notifications/Collection/FormattedNotifications.php [new file with mode: 0644]
src/Navigation/Notifications/Collection/Notifies.php [new file with mode: 0644]
src/Navigation/Notifications/Depository/Notify.php [new file with mode: 0644]
src/Navigation/Notifications/Entity/Notify.php [new file with mode: 0644]
src/Navigation/Notifications/Exception/NotificationCreationInterceptedException.php [new file with mode: 0644]
src/Navigation/Notifications/Factory/FormattedNotification.php [new file with mode: 0644]
src/Navigation/Notifications/Factory/Notify.php [new file with mode: 0644]
src/Navigation/Notifications/ValueObject/FormattedNotification.php [new file with mode: 0644]