The problem is not located at the interface, but the problem is because of your generic implementation using static methods and properties.
问题不是位于界面,但问题是因你的通用实现使用静态方法和属性。
But with PHP V5.3, I'm happy to have lots of static - such as the static properties and methods in an inheritance tree.
但是对于PHPV5.3,我很高兴拥有很多静态的东西—比如继承树内的静态属性和方法。
Rather, static crosscutting allows you to alter the structure of an object by introducing additional methods, fields, and properties.
相反,它允许通过引入附加的方法字段和属性来修改对象的结构。
PHP V5.3's LSB functionality allows you to use design patterns that require the use of static properties and methods.
PHPV5.3的LS B功能让您可以使用需要静态属性和方法的设计模式。
This means that users can only use methods defined in the DataObject interface to get and set properties of the data object instead of using APIs generated in the static APIs scenario.
这意味着,用户可以仅使用DataObject接口中定义的方法类获取和设置数据对象的属性,而无需使用静态api场景中生成的API。
It also suggests manual computation methods of approximation and computing model for computer to static effects and dynamic properties.
就其静力效应及动力特性,分别归纳出手算近似法和机算模型。
Provides a set of static methods, attached properties, and events for determining and setting focus scopes and for setting the focused element within the scope.
提供一组静态方法、附加属性和事件,以判断并设定焦点范围,并在范围内设定可焦点化的项目。
Provides a set of static methods, attached properties, and events for determining and setting focus scopes and for setting the focused element within the scope.
提供一组静态方法、附加属性和事件,以判断并设定焦点范围,并在范围内设定可焦点化的项目。
应用推荐