From e32735e01bab8f73ce0fb0413254cfd8e18249e2 Mon Sep 17 00:00:00 2001 From: George Halkiadakis Date: Sun, 26 Mar 2023 23:17:22 +0300 Subject: extends forlder for personalizing the general classes --- core/classes/Registry.php | 6 ++++++ core/classes/authentication/Core/UserManager.php | 1 + 2 files changed, 7 insertions(+) (limited to 'core/classes') diff --git a/core/classes/Registry.php b/core/classes/Registry.php index df012e9..047fd54 100644 --- a/core/classes/Registry.php +++ b/core/classes/Registry.php @@ -2,6 +2,7 @@ /** Registry * --- + * * Regisrty is a global repository of {key: value} pairs, * where key is a friendly label, and... * value can be anything (numbet|string|array|object etc) @@ -9,6 +10,11 @@ * It has a central role in the framework. * By default it holds the Request instance and several * othe core instanses like database connections etc. + * + * It implements the Facade design pattern; + * it defines a new interface for existing objects. + * + * --- */ class Registry { diff --git a/core/classes/authentication/Core/UserManager.php b/core/classes/authentication/Core/UserManager.php index 22a87f5..776cee9 100644 --- a/core/classes/authentication/Core/UserManager.php +++ b/core/classes/authentication/Core/UserManager.php @@ -96,4 +96,5 @@ class UserManager implements UserManagerInterface unset($_SESSION[UserTokenInterface::DEFAULT_PREFIX_KEY]); } } + } -- cgit v1.2.3