Skip to content

Adds support for the Doctrine ArrayCache provider. #67

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Adds support for the Doctrine ArrayCache provider. #67

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Dec 1, 2014

When Doctrine is initialized via the Setup class in non-development mode, use of the NullProvider included with this package will typically force Doctrine to use the ArrayCache provider by default. However, if at least one of the APC, XCache, Memcache, or Redis modules have been loaded, the Doctrine setup routine assumes it should be used and attempts to connect.

In cases where you actually want to use the ArrayCache provider in non-development environments, you are subsequently unable to. This set of changes includes a doctrine-laravel ArrayProvider that allows use of the Doctrine ArrayCache provider in non-development modes, regardless of whether conflicting cache modules have been loaded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant