Laravel
Release notes
Upgrade Guide
Contribution Guide
function
Global
/
throw_if
throw_if
#
throw_if
(
)
:
mixed
Throw the given exception if the given condition is true.
Parameters
$condition
mixed
$exception
TException
|
class-string<\TException>
|
string
$parameters
mixed