Skip to content

Commit

Permalink
Renamed container alias from "cache" to "stash".
Browse files Browse the repository at this point in the history
  • Loading branch information
tedivm committed May 13, 2014
1 parent 9288667 commit 4269bbc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Expand Up @@ -37,6 +37,12 @@

#### API


* Renamed service container alias from "cache" to "stash".

This prevents overlap with the Symfony defined "cache" item, which is part of the HTTPCache package.


* Renamed CacheLogger to CacheTracker

This is to prevent collision with the setLogger(\Psr\Logger) functionality.
Expand Down
2 changes: 1 addition & 1 deletion DependencyInjection/TedivmStashExtension.php
Expand Up @@ -45,7 +45,7 @@ public function load(array $configs, ContainerBuilder $container)
$processor = new Processor();
$config = $processor->processConfiguration(new Configuration(), $configs);

$container->setAlias('cache', sprintf('stash.%s_cache', $config['default_cache']));
$container->setAlias('stash', sprintf('stash.%s_cache', $config['default_cache']));

$lq = isset($config['tracking'])
? $config['tracking']
Expand Down

0 comments on commit 4269bbc

Please sign in to comment.