CaseActivities/CaseAutomation sind Fassaden über ProcessRunner. Verhaltensvergleich v0.11: 11 Abläufe und 198 Konstellationen gleich, beabsichtigte Abweichungen I-004/I-005 (F-001/F-002). Volle Suite vor U-B: 785/785. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
27 lines
549 B
PHP
27 lines
549 B
PHP
<?php
|
|
|
|
namespace App\Process\Models;
|
|
|
|
/**
|
|
* One entry of a model's course: a module or an extension point where variants insert modules.
|
|
*/
|
|
final readonly class Step
|
|
{
|
|
private function __construct(public ?string $module, public ?Point $point) {}
|
|
|
|
public static function module(string $key): self
|
|
{
|
|
return new self($key, null);
|
|
}
|
|
|
|
public static function point(Point $point): self
|
|
{
|
|
return new self(null, $point);
|
|
}
|
|
|
|
public function isPoint(): bool
|
|
{
|
|
return $this->point !== null;
|
|
}
|
|
}
|