From 40d596c266424c4280190798db430811d34e8887 Mon Sep 17 00:00:00 2001 From: Rob Gloudemans Date: Mon, 30 Dec 2013 22:07:51 +0100 Subject: [PATCH] Little update to readme --- README.md | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/README.md b/README.md index b6ee4d9..7c0256c 100644 --- a/README.md +++ b/README.md @@ -65,23 +65,6 @@ Cart::add(array( )); ``` -**Cart::addBatch()** - -Don't use this anymore, just pass a multidimensional array to the `Cart::add()` method - -```php -/** - * Add multiple rows to the cart - * - * @param Array $items An array of items to add, use array keys corresponding to the 'add' method's parameters - */ - -Cart::addBatch(array( - array('id' => '293ad', 'name' => 'Product 1', 'qty' => 1, 'price' => 10.00), - array('id' => '4832k', 'name' => 'Product 2', 'qty' => 1, 'price' => 10.00, 'options' => array('size' => 'large')) -)); -``` - **Cart::update()** ```php