实例化另一个类调用,继承系统子类的基类ba
seController
$tool=new Tool();
$res=$tool->test();
dump($res);
Too few arguments to function app\baseController::__construct(), 0 passed in D:\work\phpStudy\WWW\tp6\app\controller\Index.php on line 19 and exactly 1 expected
参数太少,无法运行app\baseController:: construct(),在第19行传递0:D:\work\phpStudy\WWW\tp6\app\controller\Index.php,预期为1