class ProducersManager extends Manager

Methods

array
fillable()

Define the fillable fields.

Model
makeFillable(Model $model)

Set fillable fields for the given model.

from Manager
Producer
fromUsername(string $username, array $with = [])

Find a producer by username.

Producer
fromId(int $id, array $with = [])

Find a producer by username.

Details

at line 38
protected array fillable()

Define 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
Producer fromUsername(string $username, array $with = [])

Find a producer by username.

Parameters

string $username
array $with

Return Value

Producer

at line 28
Producer fromId(int $id, array $with = [])

Find a producer by username.

Parameters

int $id
array $with

Return Value

Producer