Note that the advice is a plain method declaration.
请注意通知就是普通的方法声明。
You then need to add a method declaration for invoke so that the class compiles.
然后需要为invoke添加方法声明以便类进行编译。
With PHP V5, however, you can build object type checking right into the class or method declaration.
但是,如果使用 PHP V5 的话,可以将对象类型检查构建到类或方法声明中。
应用推荐