Console Application - Php Fatal Error: Cannot Redeclare Class in The Yii Book Posted July 17, 2020 I get same error. The problem is in the class name "SayHello". In the example must be "SayHelloCommand" and file name SayHelloCommand.php It resolves the problem. Hope this helps somebody else.
Console Application - Php Fatal Error: Cannot Redeclare Class
in The Yii Book
Posted
I get same error.
The problem is in the class name "SayHello". In the example must be "SayHelloCommand" and file name SayHelloCommand.php
It resolves the problem.
Hope this helps somebody else.