Hello, gentlemen. Tell me please. I create servise 'Redis'. It work in controllers $this->redis->set(.....). All ok, but how I can to do that in models? I need safe any data in redis when user->save(); or anymodel->save();
Hello, gentlemen. Tell me please. I create servise 'Redis'. It work in controllers $this->redis->set(.....). All ok, but how I can to do that in models? I need safe any data in redis when user->save(); or anymodel->save();