$class * @param string $name * @param list $checks * @param string $operation * @param class-string $entity * @param list $events * @param string $appId */ public function __construct( public string $id, public string $class, public string $name, public array $checks, public string $operation, public string $entity, public array $events, public string $appId, ) { $this->runtime = true; } /** * @experimental 34.0.0 * @return array>, value-of>> */ public function toArray(): array { return [ 'id' => $this->id, 'class' => $this->class, 'name' => $this->name, 'checks' => $this->checks, 'operation' => $this->operation, 'entity' => $this->entity, 'events' => $this->events, 'appId' => $this->appId, 'runtime' => $this->runtime, ]; } }