Skip to content

Commit

Permalink
Update intro notes to reflect a V2 API change (fixes #55)
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdoug committed Sep 21, 2016
1 parent d5b6166 commit 8f42477
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 @@ -102,8 +102,8 @@ Basic usage then looks something like the below:
$items->insert(new TestItem('Item 2', 297, 296, 2, 500));
$items->insert(new TestItem('Item 3', 296, 296, 4, 290));

$packer = new Packer();
$packedBox = $packer->packIntoBox($box, $items);
$volumePacker = new VolumePacker($box, $items);
$packedBox = $volumePacker->pack();
/* $packedBox->getItems() contains the items that fit */
```

Expand Down

0 comments on commit 8f42477

Please sign in to comment.