\League\FactoryMuffin\ExceptionsDeleteFailedException

This is the delete failed exception class.

This is thrown when the delete method of a model does not equal true in a loose comparison. 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