Model in subfolder not working |
In the controller:
PHP Code: $companyListModel = new \App\Models\rt3\CompanyListModel(); The Models folder has an Rt3 folder with the CompanyListModel.php in it. PHP Code: <?php namespace App\Models; Get this error: Code: Class 'App\Models\Rt3\CompanyListModel' not found What am I doing wrong?
|
Welcome Guest, Not a member yet? Register Sign In |