摘要:
(1)Game.class.php (抽象父类,模板类) (2)Cricket.class.php (具体子类) (3)Football.class.php (具体子类) (4)template.php 阅读全文
摘要:
(1)Strategy.class.php(策略抽象接口) (2)OperationAdd.class.php(加操作具体类) (3)OperationSubstract.class.php(减操作具体类) (4)OperationMultiply.class.php(乘操作具体类) (5)stra 阅读全文
摘要:
(1)AbstractCustomer.class.php(抽象父类) (2)RealCustomer.class.php (真实用户类) (3)NullCustomer.class.php (空对象代替类) (4)CustomerFactory.class.php (用户工厂类) (5)nullO 阅读全文