There is template in phpstorm. You see it is gray. In fact, this word does not exist. It is just a parameter mark. Therefore, you cannot add template when writing your own. Just leave it blank or write an 'index' parameter. Just fine
replyThis is correct, hold the grass and add template: an error is reported, the reason is unknown. Master, can you leave a WeChat message to study together?
There is template in phpstorm. You see it is gray. In fact, this word does not exist. It is just a parameter mark. Therefore, you cannot add template when writing your own. Just leave it blank or write an 'index' parameter. Just fine
Is it true that the index class is not inherited from the controller?
return $this->view->fetch('index'); try