function Assert::reportInvalidArgument
@psalm-pure this method is not supposed to perform side-effects @psalm-return never
Parameters
string $message:
Throws
88 calls to Assert::reportInvalidArgument()
- Assert::alnum in vendor/
webmozart/ assert/ src/ Assert.php - @psalm-pure
- Assert::alpha in vendor/
webmozart/ assert/ src/ Assert.php - @psalm-pure
- Assert::boolean in vendor/
webmozart/ assert/ src/ Assert.php - @psalm-pure @psalm-assert bool $value
- Assert::classExists in vendor/
webmozart/ assert/ src/ Assert.php - @psalm-assert class-string $value
- Assert::contains in vendor/
webmozart/ assert/ src/ Assert.php - @psalm-pure
File
-
vendor/
webmozart/ assert/ src/ Assert.php, line 2072
Class
- Assert
- Efficient assertions to validate the input/output of your methods.
Namespace
Webmozart\AssertCode
protected static function reportInvalidArgument($message) {
throw new InvalidArgumentException($message);
}