class ImagesManager extends Manager

Methods

array
fillable()

Set the fillable fields.

Model
makeFillable(Model $model)

Set fillable fields for the given model.

from Manager
Image
create(array $data, mixed $owner = null, Image|null $image = null)

Create a new image.

Image
attach(mixed $owner, Image $image)

Attach an image to the given owner.

Details

at line 52
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 17
Image create(array $data, mixed $owner = null, Image|null $image = null)

Create a new image.

Parameters

array $data
mixed $owner
Image|null $image

Return Value

Image

at line 37
Image attach(mixed $owner, Image $image)

Attach an image to the given owner.

Parameters

mixed $owner
Image $image

Return Value

Image