Change registerPrefix and registerNamespace to LIFO #1739

merged 1 commit into from Dec 5, 2012


None yet

4 participants


When registering a prefix or namespace, the last path registered should be the first path searched. This would make overriding classes MUCH easier.


I think this makes a ton of sense, and I would consider it an oversight on my part that it doesn't already behave that way.. 👍

That being said, I'd like to leave it open for a day or so to see if we get any strong dissenting opinions.

ianmacl commented Dec 5, 2012


elinw commented Dec 5, 2012

+1 solves gigantic practical problems.

@LouisLandry LouisLandry merged commit 9b038ab into joomla:staging Dec 5, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment