From 4dc960ac9b3aa4a3b073520f0c37cfed5c24ad77 Mon Sep 17 00:00:00 2001 From: Doug Wright Date: Sat, 31 May 2014 18:11:37 +0100 Subject: [PATCH] Update docs to point at newer API --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7e7884d6..808293bf 100644 --- a/README.md +++ b/README.md @@ -99,8 +99,8 @@ Basic usage then looks something like the below: $items->insert(new TestItem('Item 3', 296, 296, 4, 290)); $packer = new Packer(); - $packedItems = $packer->packBox($box, $items); - /* $packedItems contains the items that fit */ + $packedBox = $packer->packIntoBox($box, $items); + /* $packedBox->getItems() contains the items that fit */ ``` BoxPacker is designed to run calculations as efficiently as possible, the 7500+ tests in the test suite run in 11