Navigation Menu

Skip to content

Commit

Permalink
Merge pull request #13 from simensen/empty-to-clear
Browse files Browse the repository at this point in the history
Use clear instead of empty as empty is a reserved word.
  • Loading branch information
tedivm committed Mar 7, 2013
2 parents 361bb8d + 6a105ff commit 607d979
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions proposed/PSR-Cache.md
Expand Up @@ -83,7 +83,7 @@ respond with a cache miss than with corrupted data.
The pool represents a collection of items in a caching system. The pool
conceptually contains all of the items. When you want to get something out of
the caching system, you use the Pool to create the Item object. A Pool can
return one Item or many Items, and the pool can be used to empty all of the
return one Item or many Items, and the pool can be used to clear all of the
items in the cache.


Expand Down Expand Up @@ -144,12 +144,11 @@ interface Pool
function getItemIterator($keys);

/**
* Empties the cache pool of all items.
* Clears the cache pool of all items.
*
* @return bool
*/
function empty();

function clear();
}
```

Expand Down

0 comments on commit 607d979

Please sign in to comment.