18 declare(strict_types=1);
44 if ($this->requirement_constraint !== null) {
81 $clone->null_value_was_explicitly_set =
true;
86 $clone->null_value_was_explicitly_set =
false;
95 if ($this->null_value_was_explicitly_set) {
107 if ($this->
getName() === null) {
108 throw new LogicException(
"Can only collect if input has a name.");
116 $temp = $clone->is_required;
117 $clone->is_required =
true;
118 $clone->content = $clone->applyOperationsTo(null);
119 $clone->is_required = $temp;
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
A constraint encodes some resrtictions on values.