Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rybakit committed Jan 13, 2014
1 parent ab8e74c commit bf5e0cf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ Currently, there are the following queues available:
* `PgsqlQueue`
* `MysqlQueue`
* `SqliteQueue`
* `InMemoryQueue`
* `SysVQueue`
* `InMemoryQueue`


## Usage example
Expand All @@ -64,8 +64,8 @@ $count = $queue->count(); // $count = 5;

// pop items off the queue
try {
while ($item = $queue->pop()) {
// $item = 'item1' ... 'item2' ... 'item3';
while (1) {
$item = $queue->pop(); // $item = 'item1', 'item2', 'item3';
}
} catch (NoItemException $e) {
// no items are available
Expand Down

0 comments on commit bf5e0cf

Please sign in to comment.