mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-16 04:44:36 +00:00
22 lines
375 B
PHP
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;
|
|
}
|
|
|
|
} |