PHP Class Overtrue\LaravelShoppingCart\Item

Inheritance: extends Illuminate\Support\Collection
Afficher le fichier Open project: overtrue/laravel-shopping-cart

Protected Properties

Свойство Type Description
$model string The Eloquent model a cart is associated with.

Méthodes publiques

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

Method Details

__get() public méthode

Magic accessor.
public __get ( string $property ) : mixed
$property string Property name.
Résultat mixed

rawId() public méthode

Return the raw ID of item.
public rawId ( ) : string
Résultat string

Property Details

$model protected_oe property

The Eloquent model a cart is associated with.
protected string $model
Résultat string