我在woker类中已经引用了这个类,但是在定时任务执行中一直找不到这个类
Workerman version:3.5.16 PHP version:5.6.27
------------------------ WORKERS -------------------------------
worker listen processes status
StatisticWeb http://0.0.0.0:55757 1
StatisticProvider text://0.0.0.0:55858 1
StatisticWorker statistic://0.0.0.0:55656 1
StatisticFinder text://0.0.0.0:55858 1
tistics\Lib\MySendMail' not found in E:\fengshen\workerman-statistics\Applications\Statistics\Bootstrap\StatisticWorker.php on line 418
cWorker.php on line 418
Worker process terminated with ERROR: E_ERROR "Class 'Statistics\Lib\MySendMail' not found in E:\fengshen\workerman-statistics\Applications\Statistics\Bootstrap\StatisticWorker.php on line 418"
process E:\fengshen\workerman-statistics\Applications\Statistics\start_worker.php terminated and try to restart
StatisticWorker statistic://0.0.0.0:55656 1
把类文件require_once进去就行了
已经引用进去了
试过了require_once,use各种方法,就是找不到这个类
命名空间没整对