Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
Adding an array adapter#25892
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Adding an array adapter#25892
Uh oh!
There was an error while loading.Please reload this page.
Conversation
| <tagname="cache.pool"clearer="cache.default_clearer" /> | ||
| <tagname="monolog.logger"channel="cache" /> | ||
| <argument>0</argument><!-- default lifetime--> | ||
| <callmethod="setLogger"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
There is nosetLogger() method inArrayAdapter, is there?
never mind, it is,ArrayAdapter usesArrayTrait which in turn usesLoggerAwareTrait
nicolas-grekas commentedJan 24, 2018 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
did you test it? |
weaverryan commentedJan 25, 2018
Yes, tested in a real project! And you're right about the ArrayAdapter argument thing, but it was already taken into account: symfony/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Compiler/CachePoolPass.php Line 83 in332ad0a
|
mickaelandrieu commentedJan 30, 2018
Why not using |
nicolas-grekas commentedJan 31, 2018
Thank you@weaverryan. |
This PR was merged into the 4.1-dev branch.Discussion----------Adding an array adapter| Q | A| ------------- | ---| Branch? | master| Bug fix? | no| New feature? | yes| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets | none| License | MIT| Doc PR |symfony/symfony-docs#9110There's no simple way to *disable* caching (e.g. in the dev) environment. Setting up an array adapter is a very simple way to allow this :).Commits-------f92e03d adding an array adapter
Uh oh!
There was an error while loading.Please reload this page.
There's no simple way todisable caching (e.g. in the dev) environment. Setting up an array adapter is a very simple way to allow this :).