\League\FactoryMuffin\ExceptionsNoDefinedFactoryException

This is the no defined factory exception class.

This is thrown when you try to create a model without defining its factory. 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