mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-15 04:14:48 +00:00
21 lines
318 B
PHP
21 lines
318 B
PHP
<?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);
|
|
}
|
|
}
|