Introduce Local Extension
From CSSEMediaWiki
(Difference between revisions)
Brett Ward (Talk | contribs) (Page Outline Added) |
m (Reverted edits by Ebybymic (Talk); changed back to last version by Brett Ward) |
(One intermediate revision by one user not shown) |
Latest revision as of 03:22, 25 November 2010
Similar to Introduce Foreign Method, this refactoring is when you have several additional methods that need to be added to a server class, but the source code cannot be altered.
A new class should be created, containing the extra methods needed. This "extension" class should be made into a subclass or wrapper of the original server class.
See Also