Large update for version 2.0

This commit is contained in:
Rob Gloudemans
2016-05-12 10:19:38 +02:00
parent f5f15c73a2
commit 0f20bef1af
35 changed files with 1832 additions and 1145 deletions

19
src/CartItemOptions.php Normal file
View File

@@ -0,0 +1,19 @@
<?php
namespace Gloudemans\Shoppingcart;
use Illuminate\Support\Collection;
class CartItemOptions extends Collection
{
/**
* Get the option by the given key.
*
* @param string $key
* @return mixed
*/
public function __get($key)
{
return $this->get($key);
}
}