php "Deprecated: Methods with the same name as their class will not be"报错解决方法
php7.0之后将不再支持与类名相同的构造方法,构造方法统一使用 __construct()。
将报错位置的
function xxx
改为
function __construct()
即可