19 declare(strict_types=1);
42 return $this->create->legacy(sprintf(
43 '<div><b>%s</b><br/>%s</div>',
45 $this->
definition->translatedCountry($this->criterion->arguments()[
'country'] ??
'')
51 return strtoupper($user->
getCountry()) === strtoupper($this->criterion->arguments()[
'country']);
56 return $this->definition;
61 return $other instanceof (self::class);
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(private readonly CriterionContent $criterion, private readonly UserCountryDefinition $definition, private readonly UIFactory $create)
knownToNeverMatchWith(Condition $other)