PHP V5.3的LS B功能让您可以使用需要静态属性和方法的设计模式。
PHP V5.3's LSB functionality allows you to use design patterns that require the use of static properties and methods.
但是对于PHP V5.3,我很高兴拥有很多静态的东西—比如继承树内的静态属性和方法。
But with PHP V5.3, I'm happy to have lots of static - such as the static properties and methods in an inheritance tree.
上述提到的所有这四个设计模式均使用了静态的属性和方法。
All four of the design patterns mentioned use static attributes and methods.
应用推荐