Class 'yidas\rest\Controller' not found
Opened this issue · 0 comments
owf18916 commented
This error occured when i hit the api
this is my controller :
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
use yidas\rest\Controller;
class PostApiController extends Controller
{
public function index()
{
return $this->response->json(['bar'=>'foo']);
}
}