From a2b204fa47c4df20ff996c695a12683662c4dcc0 Mon Sep 17 00:00:00 2001 From: Daniel Carbone Date: Tue, 13 Oct 2015 15:49:15 -0500 Subject: [PATCH] Update README.md --- README.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index b120180..a5c2be8 100644 --- a/README.md +++ b/README.md @@ -3,16 +3,14 @@ ugly-queue A simple file-based FIFO queue system for PHP 5.3.3+ -Build statuses: -- master: [![Build Status](https://travis-ci.org/dcarbone/ugly-queue.svg?branch=master)](https://travis-ci.org/dcarbone/ugly-queue) -- 0.3.1: [![Build Status](https://travis-ci.org/dcarbone/ugly-queue.svg?branch=0.3.1)](https://travis-ci.org/dcarbone/ugly-queue) +Build status: [![Build Status](https://travis-ci.org/dcarbone/ugly-queue.svg?branch=master)](https://travis-ci.org/dcarbone/ugly-queue) ## Installation This library is designed to be installed into your app using [https://getcomposer.org/](Composer). Simply copy-paste the following line into your `"requires:"` hash: ```json -"dcarbone/ugly-queue": "0.3.*" +"dcarbone/ugly-queue": "0.4.*" ``` ## Basic Usage @@ -57,10 +55,10 @@ $queueBaseDir = 'path to where you would like queue files and directories to be $manager = new UglyQueueManager($queueBaseDir); -// 'tasty-sandwich' queue will exist now - $tastySandwich = $manager->getQueue('sandwiches'); +// 'sandwiches' queue will exist now + $tastySandwich->lock(); // Specify the number of items you wish to retrieve from the queue