Skip to content

Commit

Permalink
Add notes on listTasks
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Walder committed Feb 3, 2016
1 parent 37f8488 commit 8b56c37
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Expand Up @@ -55,6 +55,19 @@ foreach($obj_queue->leaseTasks(1) as $obj_task) {
}
```


### List Tasks ###

```php
// Create the queue
$obj_queue = new \AEQ\Pull\Queue('pullqueue');

// List Tasks
foreach($obj_queue->listTasks() as $obj_task) {
echo $obj_task->getName();
}
```

## Install with Composer ##

To install using Composer, use this require line in your `composer.json` for bleeding-edge features, dev-master
Expand Down

0 comments on commit 8b56c37

Please sign in to comment.