Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Unregister initial loader when using ApcClassLoader #570

Merged
merged 1 commit into from
Jul 10, 2013

Conversation

Seldaek
Copy link
Member

@Seldaek Seldaek commented Jul 10, 2013

I think it's quite bad to have twice the same loader registered because for autoloading classes (or class_exists calls) not handled by the main symfony/composer loader, it'll be called twice.

fabpot added a commit that referenced this pull request Jul 10, 2013
This PR was merged into the master branch.

Discussion
----------

Unregister initial loader when using ApcClassLoader

I think it's quite bad to have twice the same loader registered because for autoloading classes (or class_exists calls) not handled by the main symfony/composer loader, it'll be called twice.

Commits
-------

43b3c14 Unregister initial loader when using ApcClassLoader
@fabpot fabpot merged commit 43b3c14 into symfony:master Jul 10, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants