Xpressengine\Category\CategoryHandler::setModel PHP Method

setModel() public method

Set the name of Category model
public setModel ( string $model ) : void
$model string model class
return void
    public function setModel($model)
    {
        $this->model = '\\' . ltrim($model, '\\');
    }