class InvalidArgumentException extends Exception (View source)
| static InvalidArgumentException | create(int $argument, string $type)
Creates a new exception for an invalid argument. |
Creates a new exception for an invalid argument.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/11.x/Illuminate/Testing/Exceptions/InvalidArgumentException.html