function Mixin::nullOrMethodNotExists
@psalm-pure @psalm-param class-string|object|null $classOrObject
Parameters
string|object|null $classOrObject:
mixed $method:
string $message:
Return value
void
Throws
File
-
vendor/
webmozart/ assert/ src/ Mixin.php, line 4328
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 nullOrMethodNotExists($classOrObject, $method, $message = '') {
null === $classOrObject || static::methodNotExists($classOrObject, $method, $message);
}