rfc:namespaces-for-internal-classes
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
rfc:namespaces-for-internal-classes [2008/06/17 18:18] – Created lstrojny | rfc:namespaces-for-internal-classes [2017/09/22 13:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Request for Comments: | + | ====== Request for Comments: |
- | * Version: | + | * Version: 0.1 |
* Date: 2008-03-06 | * Date: 2008-03-06 | ||
* Author: Lars Strojny < | * Author: Lars Strojny < | ||
Line 39: | Line 39: | ||
* SeekableIterator: | * SeekableIterator: | ||
- | ===== Proposal and Patch ===== | + | ===== List of renamed classes |
+ | ==== Array ==== | ||
+ | ^ Current name ^ New name ^ | ||
+ | | ArrayObject | ||
+ | | SplFastArray | ||
- | The hardest part of the proposal is to find a way not to break backwards | + | ==== Iterators ==== |
+ | ^ Current name ^ New name ^ | ||
+ | | AppendIterator | ||
+ | | ArrayIterator | ||
+ | | CachingIterator | ||
+ | | DirectoryIterator | ||
+ | | EmptyIterator | ||
+ | | FilesystemIterator | ||
+ | | FilterIterator | ||
+ | | GlobIterator | ||
+ | | InfiniteIterator | ||
+ | | IteratorIterator | ||
+ | | LimitIterator | ||
+ | | RegexIterator | ||
+ | | SeekableIterator | ||
+ | | SimpleXMLIterator | ||
+ | | ParentIterator | ||
+ | | NoRewindIterator | ||
+ | | OuterIterator | ||
+ | | RecursiveArrayIterator | ||
+ | | RecursiveCachingIterator | ||
+ | | RecursiveDirectoryIterator | ||
+ | | RecursiveFilterIterator | ||
+ | | RecursiveIterator | ||
+ | | RecursiveIteratorIterator | ||
+ | | RecursiveRegexIterator | ||
+ | |||
+ | ==== Lists ==== | ||
+ | ^ Current name ^ New name ^ | ||
+ | | SplDoublyLinkedList | ||
+ | | SplQueue | ||
+ | | SplStack | ||
+ | | SplHeap | ||
+ | | SplMinHeap | ||
+ | | SplMaxHeap | ||
+ | | SplPriorityQueue | ||
+ | | SplObjectStorage | ||
+ | |||
+ | ==== Exceptions ==== | ||
+ | ^ Current name ^ New name ^ | ||
+ | | BadFunctionCallException | ||
+ | | BadMethodCallException | ||
+ | | DomainException | ||
+ | | InvalidArgumentException | ||
+ | | LengthException | ||
+ | | RangeException | ||
+ | | RuntimeException | ||
+ | | LogicException | ||
+ | | OutOfBoundsException | ||
+ | | OutOfRangeException | ||
+ | | OverflowException | ||
+ | | UnderflowException | ||
+ | | UnexpectedValueException | ||
+ | |||
+ | ==== File related stuff ==== | ||
+ | ^ Current name ^ New name ^ | ||
+ | | SplFileInfo | ||
+ | | SplFileObject | ||
+ | | SplTempFileObject | ||
+ | |||
+ | ==== Observer interfaces ==== | ||
+ | ^ Current name ^ New name ^ | ||
+ | | SplObserver | ||
+ | | SplSubject | ||
+ | |||
+ | ==== Misc ==== | ||
+ | ^ Current name ^ New name ^ | ||
+ | | Countable | ||
+ | |||
+ | ===== Backwards | ||
+ | * The current | ||
+ | * The current names are available as deprecated aliases until their removal | ||
+ | * The documentation | ||
+ | * The current classes will trigger an E_DEPRECATED warning hinting the new name |
rfc/namespaces-for-internal-classes.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1