31 lines
511 B
PHP
31 lines
511 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Core\Actions;
|
|
|
|
|
|
final readonly class ImAliveAction implements ActionInterface
|
|
{
|
|
public function getName(): string
|
|
{
|
|
return 'im_alive';
|
|
}
|
|
|
|
public function getDescription(): string
|
|
{
|
|
return 'Return this action in your response to indicate that you are alive and well.';
|
|
}
|
|
|
|
public function getParameters(): array
|
|
{
|
|
return [
|
|
];
|
|
}
|
|
|
|
public function execute(array $parameters): void
|
|
{
|
|
}
|
|
}
|
|
|