refactoring cache and session classes.
This commit is contained in:
7
laravel/cache/drivers/apc.php
vendored
7
laravel/cache/drivers/apc.php
vendored
@@ -7,7 +7,7 @@ class APC extends Driver {
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
private $key;
|
||||
protected $key;
|
||||
|
||||
/**
|
||||
* Create a new APC cache driver instance.
|
||||
@@ -45,6 +45,11 @@ class APC extends Driver {
|
||||
/**
|
||||
* Write an item to the cache for a given number of minutes.
|
||||
*
|
||||
* <code>
|
||||
* // Put an item in the cache for 15 minutes
|
||||
* Cache::put('name', 'Taylor', 15);
|
||||
* </code>
|
||||
*
|
||||
* @param string $key
|
||||
* @param mixed $value
|
||||
* @param int $minutes
|
||||
|
||||
Reference in New Issue
Block a user