32 foreach ($this->other as $constraint) {
33 if ($constraint->accepts($value)) {
43 foreach ($this->other as $constraint) {
44 $problems[] = (string) $constraint->problemWith($value);
47 return 'Please fix one of these: ' . implode(
', ', array_filter($problems));
__construct(array $other, Data\Factory $data_factory, \ilLanguage $lng)
LogicalOr constructor.
A constraint encodes some resrtictions on values.