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

Closed
wants to merge 1 commit into
from
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);