Permalink
Browse files

Fixed a bug in the Cache service.

Added a composer.json file.
  • Loading branch information...
jhallbachner committed Jun 23, 2012
1 parent 92b4015 commit 40b999630e2482de1765c836e63f4e40eef7c7e8
Showing with 24 additions and 2 deletions.
  1. +2 −2 Service/Cache.php
  2. +22 −0 composer.json
View
@@ -1,7 +1,7 @@
<?php
namespace Tedivm\StashBundle\Service;
-use Stash\Cache;
+use Stash\Cache as StashCache;
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 StashCache($handler);
if(count($args) > 0)
$stash->setupKey($args);
View
@@ -0,0 +1,22 @@
+{
+ "name": "tedivm/stash-bundle",
+ "type": "symfony-bundle",
+ "description": "Incorporates the Stash caching library into Symfony",
+ "keywords": ["cache","caching","apc","memcached","sqlite"],
+ "homepage": "http://github.com/tedivm/TedivmStashBundle",
+ "license": "BSD",
+ "authors": [
+ {
+ "name": "Josh Hall-Bachner",
+ "email": "jhallbachner@gmail.com"
+ }
+ ],
+ "require": {
+ "php": ">=5.3.0"
+ "tedivm/stash": "*"
+ },
+ "autoload": {
+ "psr-0": {"Tedivm\\StashBundle": ""}
+ },
+ "target-dir": "Tedivm/StashBundle"
+}

0 comments on commit 40b9996

Please sign in to comment.