wip setup guide

This commit is contained in:
2024-09-06 20:59:56 +03:00
parent ab1517cc8f
commit ff54bcc2ef
13 changed files with 296 additions and 1 deletions
+24
View File
@@ -0,0 +1,24 @@
<?php
namespace Lucent\Setup\Data;
class SetupStep
{
public function __construct(
public string $name,
public string $instructions,
public SetupStepStatus $status,
)
{
}
public static function makeSuccess(string $name, string $instructions): self
{
return new self($name, $instructions, SetupStepStatus::SUCCESS);
}
public static function makeFail(string $name, string $instructions): self
{
return new self($name, $instructions, SetupStepStatus::FAIL);
}
}