function Mixin::allNullOrUpper
@psalm-pure @psalm-assert iterable<!lowercase-string|null> $value
Parameters
iterable<string|null> $value:
string $message:
Return value
void
Throws
File
-
vendor/
webmozart/ assert/ src/ Mixin.php, line 3432
Class
- Mixin
- This trait provides nurllOr*, all* and allNullOr* variants of assertion base methods. Do not use this trait directly: it will change, and is not designed for reuse.
Namespace
Webmozart\AssertCode
public static function allNullOrUpper($value, $message = '') {
static::isIterable($value);
foreach ($value as $entry) {
null === $entry || static::upper($entry, $message);
}
}