diff options
| author | Marcus Boerger <helly@php.net> | 2008-02-02 23:09:38 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2008-02-02 23:09:38 +0000 |
| commit | b628fc219aaf7961777389201d097061c01f23e1 (patch) | |
| tree | 288b6b57d9e464323e9f8df9f6e878dbd7b03c81 /scripts/dev | |
| parent | 4904889568e6024d24ea52b07b8ec86dea5d1e6d (diff) | |
| download | php-git-b628fc219aaf7961777389201d097061c01f23e1.tar.gz | |
- MFH Synch directory changes
[DOC]
# Class FilesystemIterator was introduced to have a better DirectoryIterator
# without having to change DirectoryIterator or RecursiveDirectoryIterator.
# On top of FilterIterator the new GlobIterator was introduced. This one allows
# to implement Countable(). But a glob stream flattens all structure, so it
# cannot be derived from RedursiveIterator. With the new structure all children
# of FilesystemIterator have nearly the same behavior. Just their capabilities
# are a bit different. Check out new inheritance tree on SplFileInfo:
#
# [marcus@frodo PHP_5_3]$ php ext/spl/examples/class_tree.php SplFileInfo
# make: `sapi/cli/php' is up to date.
# SplFileInfo
# |-DirectoryIterator (Iterator)
# | \-FilesystemIterator
# | |-GlobIterator (Countable)
# | \-RecursiveDirectoryIterator (RecursiveIterator)
# | \-Phar (ArrayAccess, Countable)
# |-PharFileInfo
# \-SplFileObject (RecursiveIterator, SeekableIterator)
# \-SplTempFileObject
Diffstat (limited to 'scripts/dev')
0 files changed, 0 insertions, 0 deletions
