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