Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Rotua Panjaitan
yii2
Commits
d3c2b1a1
Commit
d3c2b1a1
authored
Oct 28, 2013
by
Qiang Xue
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1095 from pmoust/patch-2
typo fix
parents
08c844f3
63d391b3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Cache.php
framework/yii/caching/Cache.php
+2
-2
No files found.
framework/yii/caching/Cache.php
View file @
d3c2b1a1
...
@@ -192,7 +192,7 @@ abstract class Cache extends Component implements \ArrayAccess
...
@@ -192,7 +192,7 @@ abstract class Cache extends Component implements \ArrayAccess
* If the cache already contains such a key, the existing value and
* If the cache already contains such a key, the existing value and
* expiration time will be replaced with the new ones, respectively.
* expiration time will be replaced with the new ones, respectively.
*
*
* @param mixed $key a key identifying the value to be cached
value
. This can be a simple string or
* @param mixed $key a key identifying the value to be cached. This can be a simple string or
* a complex data structure consisting of factors representing the key.
* a complex data structure consisting of factors representing the key.
* @param mixed $value the value to be cached
* @param mixed $value the value to be cached
* @param integer $expire the number of seconds in which the cached value will expire. 0 means never expire.
* @param integer $expire the number of seconds in which the cached value will expire. 0 means never expire.
...
@@ -218,7 +218,7 @@ abstract class Cache extends Component implements \ArrayAccess
...
@@ -218,7 +218,7 @@ abstract class Cache extends Component implements \ArrayAccess
/**
/**
* Stores a value identified by a key into cache if the cache does not contain this key.
* Stores a value identified by a key into cache if the cache does not contain this key.
* Nothing will be done if the cache already contains the key.
* Nothing will be done if the cache already contains the key.
* @param mixed $key a key identifying the value to be cached
value
. This can be a simple string or
* @param mixed $key a key identifying the value to be cached. This can be a simple string or
* a complex data structure consisting of factors representing the key.
* a complex data structure consisting of factors representing the key.
* @param mixed $value the value to be cached
* @param mixed $value the value to be cached
* @param integer $expire the number of seconds in which the cached value will expire. 0 means never expire.
* @param integer $expire the number of seconds in which the cached value will expire. 0 means never expire.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment