class SuppliersManager extends Manager

Methods

array
fillable()

Set the fillable fields.

Model
makeFillable(Model $model)

Set fillable fields for the given model.

from Manager
Supplier
create(array $data, User $user)

Create a new supplier.

Supplier
update(Supplier $supplier, array $data)

Update a supplier.

Details

at line 47
protected array fillable()

Set the fillable fields.

Return Value

array

in Manager at line 20
protected Model makeFillable(Model $model)

Set fillable fields for the given model.

Parameters

Model $model

Return Value

Model

at line 16
Supplier create(array $data, User $user)

Create a new supplier.

Parameters

array $data
User $user

Return Value

Supplier

at line 35
Supplier update(Supplier $supplier, array $data)

Update a supplier.

Parameters

Supplier $supplier
array $data

Return Value

Supplier