Skip to content

Commit

Permalink
Use clear instead of empty as empty is a reserved word.
Browse files Browse the repository at this point in the history
  • Loading branch information
simensen committed Mar 7, 2013
1 parent 361bb8d commit 6a105ff
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 6a105ff

Please sign in to comment.