8000 [FrameworkBundle] integrate the Cache component by xabbuh · Pull Request #17868 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[FrameworkBundle] integrate the Cache component #17868

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

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix cache pool wiring
  • Loading branch information
xabbuh committed Mar 11, 2016
commit fba8f64a0cc07609f4591c2d66e790cf0c0c6a6b
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@ public function process(ContainerBuilder $container)

private function getNamespace($id)
{
return substr(str_replace('/', '-', base64_encode(md5('symfony.'.$id, true)), 0, 10));
return substr(str_replace('/', '-', base64_encode(md5('symfony.'.$id, true))), 0, 10);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -560,15 +560,13 @@ private function addCacheSection(ArrayNodeDefinition $rootNode)
->arrayNode('pool')
->useAttributeAsKey('name')
->prototype('array')
->beforeNormalization()
->end()
->children()
->enumNode('type')
->info('The cache pool type (one of "apcu", "doctrine", "psr6" or "filesystem")')
->isRequired()
->values(array('apcu', 'doctrine', 'psr6', 'filesystem'))
->end()
->integerNode('default_lifetime')->default(0)->end()
->integerNode('default_lifetime')->defaultValue(0)->end()
->scalarNode('cache_provider_service')->defaultNull()->end()
->scalarNode('directory')->defaultNull()->end()
->end()
Expand Down
0