Browse Source

move back to memcache

Taylor Otwell 12 years ago
parent
commit
11aabe4a84
2 changed files with 6 additions and 6 deletions
  1. 4 4
      laravel/cache/drivers/memcached.php
  2. 2 2
      laravel/memcached.php

+ 4 - 4
laravel/cache/drivers/memcached.php

@@ -1,11 +1,11 @@
-<?php namespace Laravel\Cache\Drivers; use Memcached;
+<?php namespace Laravel\Cache\Drivers; use Memcache;
 
 class Memcached extends Driver {
 
 	/**
 	 * The Memcache instance.
 	 *
-	 * @var Memcached
+	 * @var Memcache
 	 */
 	protected $memcache;
 
@@ -19,10 +19,10 @@ class Memcached extends Driver {
 	/**
 	 * Create a new Memcached cache driver instance.
 	 *
-	 * @param  Memcached  $memcache
+	 * @param  Memcache  $memcache
 	 * @return void
 	 */
-	public function __construct(Memcached $memcache, $key)
+	public function __construct(Memcache $memcache, $key)
 	{
 		$this->key = $key;
 		$this->memcache = $memcache;

+ 2 - 2
laravel/memcached.php

@@ -5,7 +5,7 @@ class Memcached {
 	/**
 	 * The Memcached connection instance.
 	 *
-	 * @var Memcached
+	 * @var Memcache
 	 */
 	protected static $connection;
 
@@ -40,7 +40,7 @@ class Memcached {
 	 */
 	protected static function connect($servers)
 	{
-		$memcache = new \Memcached;
+		$memcache = new \Memcache;
 
 		foreach ($servers as $server)
 		{