-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed stupid passing of Memcache instance to MemcacheCache
- Loading branch information
1 parent
90393a0
commit daa7040
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of the Kdyby (http://www.kdyby.org) | ||
* | ||
* Copyright (c) 2008 Filip Procházka (filip@prochazka.su) | ||
* | ||
* For the full copyright and license information, please view the file license.txt that was distributed with this source code. | ||
*/ | ||
|
||
namespace Kdyby\DoctrineCache; | ||
|
||
use Doctrine; | ||
use Kdyby; | ||
use Memcache; | ||
use Nette; | ||
|
||
|
||
|
||
/** | ||
* @author Filip Procházka <filip@prochazka.su> | ||
*/ | ||
class MemcacheCache extends Doctrine\Common\Cache\MemcacheCache | ||
{ | ||
|
||
public function __construct(Memcache $memcache = NULL) | ||
{ | ||
$this->setMemcache($memcache); | ||
} | ||
|
||
} |