现在在用piwik进行插件开发。出现了一个蛋疼的问题,namespace无法使用。
我有一个Controller.php文件
class Controller extends \Piwik\Plugin\Controller{
}
继承的那个官方工具类名字也叫Controller.php
namespace Piwik\Plugin;
abstract class Controller{
}
可是就报class ‘Piwik\Plugin\Controller’ not found
望大神解答