yii2-enhanced-gii

Alguien en el forum me puede ayudar a solventar este problemita con esta extensión, estoy tratando de implementar la extensión yii2-enhanced-gii y me arroja el siguiente error:

PHP Fatal Error – yii\base\ErrorException

Class ‘McarrSearch’ not found

1. in C:\wamp\www\basic\controllers\McarrController.php at line 35

26 ];

27 }

28

29 /**

30 * Lists all Mcarr models.

31 * @return mixed

32 */

33 public function actionIndex()

34 {

35 $searchModel = new McarrSearch();

36 $dataProvider = $searchModel->search(Yii::$app->request->queryParams);

37

38 return $this->render(‘index’, [

39 ‘searchModel’ => $searchModel,

40 ‘dataProvider’ => $dataProvider,

41 ]);

42 }

43

44 /**

Someone in the forum can help me solve this little problem with this extension, I’m trying to implement the extension yii2-enhanced-gii and throws me the following error:

PHP Fatal Error – yii\base\ErrorException

Class ‘McarrSearch’ not found

  1. in C:\wamp\www\basic\controllers\McarrController.php at line 35

26 ];

27 }

28

29 /**

30 * Lists all Mcarr models.

31 * @return mixed

32 */

33 public function actionIndex()

34 {

35 $searchModel = new McarrSearch();

36 $dataProvider = $searchModel->search(Yii::$app->request->queryParams);

37

38 return $this->render(‘index’, [

39 ‘searchModel’ => $searchModel,

40 ‘dataProvider’ => $dataProvider,

41 ]);

42 }

43

44 /**