Page MenuHomeDevCentral

HelloWorldCommand.php
No OneTemporary

HelloWorldCommand.php

<?php
namespace Keruald\Commands\Tests;
use Keruald\Commands\Command;
use Keruald\Commands\ExitCode;
class HelloWorldCommand extends Command {
public function main () : int {
$this->display->out("Hello world!");
return ExitCode::SUCCESS;
}
}

File Metadata

Mime Type
text/x-php
Expires
Tue, Nov 18, 17:45 (18 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3140774
Default Alt Text
HelloWorldCommand.php (272 B)

Event Timeline