Created
June 10, 2018 20:42
-
-
Save mentisy/79097cc825d6f4411263c07799b70755 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Command; | |
use Cake\Console\Arguments; | |
use Cake\Console\Command; | |
use Cake\Console\ConsoleIo; | |
/** | |
* Hello command. | |
*/ | |
class HelloCommand extends Command | |
{ | |
/** | |
* Implement this method with your command's logic. | |
* | |
* @param \Cake\Console\Arguments $args The command arguments. | |
* @param \Cake\Console\ConsoleIo $io The console io | |
* @return null|int The exit code or null for success | |
*/ | |
public function execute(Arguments $args, ConsoleIo $io) | |
{ | |
$io->out('Hello world.'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment