Files
LaravelShoppingcart/src/Gloudemans/Shoppingcart/CartRowOptionsCollection.php
Rob Gloudemans fa7e90e48a Initial commit
2013-05-22 20:12:34 +02:00

22 lines
375 B
PHP

<?php namespace Gloudemans\Shoppingcart;
use Illuminate\Support\Collection;
class CartRowOptionsCollection extends Collection {
public function __construct($items)
{
parent::__construct($items);
}
public function __get($arg)
{
if($this->has($arg))
{
return $this->get($arg);
}
return NULL;
}
}