PHP Class Mongolid\Exception\ModelNotFoundException

Inheritance: extends RuntimeExceptio\RuntimeException
Show file Open project: leroy-merlin-br/mongolid

Protected Properties

Property Type Description
$message string Exception message.
$model string Name of the affected Mongolid model.

Public Methods

Method Description
getModel ( ) : string Get the affected Mongolid model.
setModel ( string $model ) Set the affected Mongolid model.

Method Details

getModel() public method

Get the affected Mongolid model.
public getModel ( ) : string
return string

setModel() public method

Set the affected Mongolid model.
public setModel ( string $model )
$model string Name of the model.

Property Details

$message protected property

Exception message.
protected string $message
return string

$model protected property

Name of the affected Mongolid model.
protected string $model
return string