I am trying to implement the Repository Pattern in Codeigniter..
this is my file ContactsRepository.php in
App/Repository folder...
use CodeIgniter\Model;
class ContactsRespository extends Model{
...
}
use App\Repository\ContactsRespository;
class Contacts extends Controller
{
public function index()
{
$model = new ContactsModel();
then I got and error!
Class 'App\Repository\ContactsRespository' not found
Top comments (0)