composer require tempest/console
final readonly class Hello
{
public function __construct(private Console $console) {}
#[ConsoleCommand]
public function world(): void
{
$this->console->writeln('Hello World!');
}
}
composer require tempest/console
final readonly class Hello
{
public function __construct(private Console $console) {}
#[ConsoleCommand]
public function world(): void
{
$this->console->writeln('Hello World!');
}
}