Fix duplicated class names returned by DriverChain #80

Merged
merged 1 commit into from Sep 16, 2011

Projects

None yet

2 participants

Contributor
ornicar commented Mar 22, 2011

Before this change, DriverChain::getAllClassNames was returning 4500+ classes... while I have only 126.

Because drivers can return the same class names.

Contributor
ornicar commented Mar 24, 2011

I know the fix is not good, btw here is a test to show the problem it tries to solve:

ornicar@bc4004c

Contributor
ornicar commented Jul 17, 2011

Just to say the issue is still here...

Add die(count($classNames).' classes'); in DriverChain::getAllClassNames() and you will see the number of classes is far higher than what you expect.

@kriswallsmith kriswallsmith merged commit e8d5d1e into doctrine:master Sep 16, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment