Skip to content
This repository has been archived by the owner on Nov 26, 2017. It is now read-only.

Change registerPrefix and registerNamespace to LIFO #1739

Merged
merged 1 commit into from
Dec 5, 2012
Merged

Change registerPrefix and registerNamespace to LIFO #1739

merged 1 commit into from
Dec 5, 2012

Conversation

dongilbert
Copy link
Contributor

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

@LouisLandry
Copy link
Contributor

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
Copy link
Contributor

ianmacl commented Dec 5, 2012

+1

@elinw
Copy link
Contributor

elinw commented Dec 5, 2012

+1 solves gigantic practical problems.

LouisLandry added a commit that referenced this pull request Dec 5, 2012
Change registerPrefix and registerNamespace to LIFO
@LouisLandry LouisLandry merged commit 9b038ab into joomla:staging Dec 5, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants