-1
我AVE贝宝IPN类,我得到一个错误,因为我有这行代码:将PHP异常转换为Laravel 5?
throw new Exception("No POST data found.");
我怎么转换这个用来laravel5我
App\Exceptions\Handle.php
谁能帮助我?
感谢
我AVE贝宝IPN类,我得到一个错误,因为我有这行代码:将PHP异常转换为Laravel 5?
throw new Exception("No POST data found.");
我怎么转换这个用来laravel5我
App\Exceptions\Handle.php
谁能帮助我?
感谢
加反斜杠 “\” 前的类名 “异常”(throw new \Exception("No POST data found.");
)。你不必把它转换成任何东西。