Assert
Provides runtime assertions
|
Exception indicating that a parameter type assertion failed. More...
Public Member Functions | |
__construct ( $parameterName, $parameterType) | |
getParameterType () | |
Public Member Functions inherited from Wikimedia\Assert\ParameterAssertionException | |
getParameterName () | |
Exception indicating that a parameter type assertion failed.
This generally means a disagreement between the caller and the implementation of a function.
@license MIT
Wikimedia\Assert\ParameterTypeException::__construct | ( | $parameterName, | |
$parameterType ) |
string | $parameterName | |
string | $parameterType |
ParameterTypeException |
Reimplemented from Wikimedia\Assert\ParameterAssertionException.
Wikimedia\Assert\ParameterTypeException::getParameterType | ( | ) |