public hasValueOneOf ( array $names ) : boolean | ||
$names | array | An array of options to look for. |
Résultat | boolean | If any of the keys in $names exist in the configuration |
public function hasValueOneOf($names)
{
foreach ($names as $name) {
if ($this->hasValue($name)) {
return true;
}
}
return false;
}