Yasen Sayed
22 Feb 2022
Laravel
Hello guys, any one can help me to fix this problem?
Mahmoud Santos
22 Feb 2022
Best Answer
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
22 Feb 2022
Thanks a lot, it's working correctly.
© 2024 Copyrights reserved for web-brackets.com