Browse files

Can't have two classes named Cache in the same namespace

  • Loading branch information...
1 parent 56e8c5e commit c7c899b983e867071939307ffa7994e05fc365ee @mvrhov committed Oct 12, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Service/Cache.php
View
4 Service/Cache.php
@@ -1,7 +1,7 @@
<?php
namespace Tedivm\StashBundle\Service;
-use Stash\Cache;
+use Stash\Cache as SCache;
use Stash\Handlers;
/**
@@ -38,7 +38,7 @@ public function get()
$args = $args[0];
$handler = (isset($this->handler)) ? $this->handler : null;
- $stash = new Cache($handler);
+ $stash = new SCache($handler);
if(count($args) > 0)
$stash->setupKey($args);

0 comments on commit c7c899b

Please sign in to comment.