I made a custom helper function in order to use in every page in laravel, however it shows
Method [getUnreadInboxMessagesForAUser] does not exist..
I have just created a custom file in
App\Http\helpers.php and add in
"files": [ "app/Http/helpers.php" ]
Why this method not found?