\League\FactoryMuffin\ExceptionsSaveMethodNotFoundException

This is the save method not found exception class.

This is thrown when the save method of a model does not exist. This class extends MethodNotFoundException and ModelException, so you may want to try to catch one of those exceptions instead, if you want to be more general.

Summary

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

Properties

$method

$method : string

The method.

Type

string

$model

$model : string

The model.

Type

string

$object

$object : object

The model instance.

Type

object

Methods

__construct()

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

Create a new instance.

Parameters

object $object
string $method
string|null $message

getMethod()

getMethod() : string

Get the method.

Returns

string

getModel()

getModel() : string

Get the model.

Returns

string

getObject()

getObject() : object

Get the model instance.

Returns

object