Added <?php
The instructions say "create **HelloCommand.php**. Put the following code inside it::" but the code below does not include a <?php headder so when you run it it just echoes the contents of the file to the console rather than executing it. As someone who is well out of practice with php, it took me several hours to work out why and I only solved it by using cake/bake to create the skeleton. I appreciate that to those familiar with php it is probably obvious that you need that though!
Loading
Please sign in to comment