public function actionView(string $id)
    {
        $model = $this->findModel($id);

        return $this->render('view', ['model' => $model]);
    }
public function actionView(string $id)
    {
        $model = $this->findModel($id);

        return $this->render('view', ['model' => $model]);
    }
public function actionView ( string $ id ) { $ model = $ this -> findModel ( $ id ) ; return $ this -> render ( 'view' , [ 'model' => $ model ] ) ; }
Displays a single Rule item.

@param string $id

@return mixed
Displays a single Rule item .