my controller fails to find helper function |
When you declare a function in a file that has a namespace declaration like those you have in youre helpers, the full name of the function includes that namespace. So,
PHP Code: // awesome_helper.php In this case, your Code: whatever Code: App\Helpers\whatever PHP Code: // home controller If you don't have the namespace declaration in your helpers, then no need for the use statement line. |
Welcome Guest, Not a member yet? Register Sign In |