interface ModelManifestInterface (View source)

Methods

void
register(Collection $models)

Register models.

Model
getRegisteredModel(string $baseModelClass)

Get the registered model for a base model class.

string|null
getMorphClassBaseModel(string $morphClass)

Get the morph class base model.

Collection
getBaseModelClasses()

Get list of registered base model classes.

Details

void register(Collection $models)

Register models.

Parameters

Collection $models

Return Value

void

Model getRegisteredModel(string $baseModelClass)

Get the registered model for a base model class.

Parameters

string $baseModelClass

Return Value

Model

string|null getMorphClassBaseModel(string $morphClass)

Get the morph class base model.

Parameters

string $morphClass

Return Value

string|null

Collection getBaseModelClasses()

Get list of registered base model classes.

Return Value

Collection