Welcome Guest, Not a member yet? Register   Sign In
Temp data that must be destroyed at end of lifecycle
#5

@Dave friend: Thanks for your answer

I have an abstract class User
Maybe, the best solution is to have a public static property in this class : $current_user
and then, I can access like this:
User::$current_user
Reply


Messages In This Thread
RE: Temp data that must be destroyed at end of lifecycle - by vincent78 - 06-26-2020, 09:15 AM



Theme © iAndrew 2016 - Forum software by © MyBB