class CompaniesManager extends Manager

Methods

array
fillable()

Set the fillable fields.

Model
makeFillable(Model $model)

Set fillable fields for the given model.

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

Create a new company.

Company
update(Company $company, array $data)

Update the given company.

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
Company create(array $data, User $user)

Create a new company.

Parameters

array $data
User $user

Return Value

Company

at line 35
Company update(Company $company, array $data)

Update the given company.

Parameters

Company $company
array $data

Return Value

Company