0
我有一個問題,可能不適合大多數人。 很抱歉,如果它是你明顯...內一類:從函數B訪問函數A
這是我的代碼:
class Bat
{
public function test()
{
echo"ici";
exit();
}
public function test2()
{
$this->test();
}
}
在我的控制器:
bat::test2();
我有一個錯誤:
Exception information: Message: Method "test" does not exist and was not trapped in __call()
是什麼FbHelper與蝙蝠呢? –