class Favourite extends Model

Methods

void
setCustomerAttribute(Customer $customer)

Set the customer that favor the product.

void
setProductAttribute(Product $product)

Set a favourite product.

Details

at line 16
void setCustomerAttribute(Customer $customer)

Set the customer that favor the product.

Parameters

Customer $customer

Return Value

void

at line 27
void setProductAttribute(Product $product)

Set a favourite product.

Parameters

Product $product

Return Value

void