PHP Class Overtrue\LaravelShoppingCart\Item

Inheritance: extends Illuminate\Support\Collection
Mostra file Open project: overtrue/laravel-shopping-cart

Protected Properties

Property Type Description
$model string The Eloquent model a cart is associated with.

Public Methods

Method Description
__get ( string $property ) : mixed Magic accessor.
rawId ( ) : string Return the raw ID of item.

Method Details

__get() public method

Magic accessor.
public __get ( string $property ) : mixed
$property string Property name.
return mixed

rawId() public method

Return the raw ID of item.
public rawId ( ) : string
return string

Property Details

$model protected_oe property

The Eloquent model a cart is associated with.
protected string $model
return string