This listing illustrates an internal iterator (also known as a push iterator because it pushes each element in turn to the code block).
该清单展示了内部迭代器(也称为push迭代器,因为它将每个元素依次推到代码块中)。
Listing 8 shows how to extend the Configuration class to implement the Iterator interface, which is internal to PHP.
清单8显示了如何扩展configuration类来实现Iterator接口,对于php来说,该接口是内部接口。
Listing 8 shows how to extend the Configuration class to implement the Iterator interface, which is internal to PHP.
清单8显示了如何扩展configuration类来实现Iterator接口,对于php来说,该接口是内部接口。
应用推荐