Practical PHP Refactoring: Extract Superclass
In the scenario of today, there are two or more unrelated classes with similar members, like common methods or fields. While these classes may be already linked on the semantical level (via duplicated names or namespaces), there is nothing that ties them in the PHP interpreter's mind (if it has one.)
Want to have your say? just login


Be first to show your opinion !!!