mirocow\eav\admin\controllers\EntityController::findModel PHP Метод

findModel() защищенный Метод

If the model is not found, a 404 HTTP exception will be thrown.
protected findModel ( integer $id ) : EavEntity
$id integer
Результат mirocow\eav\models\EavEntity the loaded model
    protected function findModel($id)
    {
        if (($model = EavEntity::findOne($id)) !== null) {
            return $model;
        } else {
            throw new NotFoundHttpException('The requested page does not exist.');
        }
    }