Yasen Sayed
Published in : 2022-02-22
Hello guys, any one can help me to fix this problem?
Mahmoud Santos Date : 2022-02-22
Best answers
2
Best answers
2
You should use it as an array and add the model name & the method you like.
call_user_func([$modelName, $method]);
Should it works for you :)
Yasen Sayed Date : 2022-02-22
Thanks a lot, it's working correctly.
Join our community and get the chance to solve your code issues & share your opinion with us
Sign up Now