\League\FactoryMuffin\ExceptionsModelNotFoundException

This is the model not found exception class.

This is thrown when we try to create an object, but the model class defined is not found. This class extends ModelException, so you may want to try to catch that exception instead, if you want to be more general.

Summary

Methods
Properties
Constants
__construct()
getModel()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$model
N/A

Properties

$model

$model : string

The model.

Type

string

Methods

__construct()

__construct(string  $model, string|null  $message = null) : void

Create a new instance.

Parameters

string $model
string|null $message

getModel()

getModel() : string

Get the model.

Returns

string