PHP interface 用以定义一个接口,声明一些公用方法。 以约束继承该接口的类必须实现接口所声明的方法 转载于:https://www.cnblogs.com/hiraeth/p/9020995.html