关于命名空间的错误

浏览:2248 发布日期:2015/03/14 分类:求助交流 关键字: 命名空间
求助大侠们一个关于命名空间的问题,我刚学PHP,望大家能帮帮忙看看。
错误提示:

目录结构:

上面截图中,绿色的为我的代码出错的地方,红色为我继承的那个类。
我在UserController文件中这样写的namespace Admin\Controller;
use Common\Controller\AdminBase;

class UserController extends AdminBase{
    
    public function index(){
        
    }
    
}
Adminbase中的代码是这样的namespace Common\Controller;

use Common\Controller\HensueCMS;

class AdminBase extends HensueCMS{
    
    
}
麻烦各位给我看看,谢谢
最佳答案
评论( 相关
后面还有条评论,点击查看>>