Skip to content

Commit

Permalink
Update docs to point at newer API
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdoug committed May 31, 2014
1 parent 1cc377b commit 4dc960a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4dc960a

Please sign in to comment.