Mongolid\Exception\ModelNotFoundException::setModel PHP Method

setModel() public method

Set the affected Mongolid model.
public setModel ( string $model )
$model string Name of the model.
    public function setModel(string $model)
    {
        $this->model = $model;
        $this->message = "No query results for model [{$model}].";
        return $this;
    }
ModelNotFoundException