19 declare(strict_types=1);
49 ?
string $byline = null
52 $this->label = $label;
53 $this->byline = $byline;
66 if ($clone->content->isError()) {
67 $error = $clone->content->error();
71 return $clone->withError(
"" .
$error);
91 $clone->label = $label;
100 return $this->byline;
108 $clone = clone $this;
109 $clone->byline = $byline;
118 return $this->is_required;
126 $clone = clone $this;
127 $clone->is_required = $is_required;
128 $clone->requirement_constraint = ($is_required) ? $requirement_constraint : null;
137 return $this->is_disabled;
145 $clone = clone $this;
146 $clone->is_disabled = $is_disabled;
178 return $this->data_factory->ok(
$res);
196 yield from parent::getOperations();
appendTriggeredSignal(C\Signal $signal, string $event)
Append a triggered signal to other signals of the same event.
withTriggeredSignal(C\Signal $signal, string $event)
Add a triggered signal, replacing any other signals registered on the same event. ...
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
A result encapsulates a value or an error and simplifies the handling of those.
A constraint encodes some resrtictions on values.
__construct(Container $dic, ilPlugin $plugin)
Refinery Factory $refinery