Assert
Provides runtime assertions
Loading...
Searching...
No Matches
Wikimedia\Assert\ParameterKeyTypeException Class Reference

Exception indicating that a parameter key type assertion failed. More...

+ Inheritance diagram for Wikimedia\Assert\ParameterKeyTypeException:
+ Collaboration diagram for Wikimedia\Assert\ParameterKeyTypeException:

Public Member Functions

 __construct ( $parameterName, $type)
 
 getType ()
 
- Public Member Functions inherited from Wikimedia\Assert\ParameterAssertionException
 getParameterName ()
 

Detailed Description

Exception indicating that a parameter key type assertion failed.

This generally means a disagreement between the caller and the implementation of a function.

Since
0.3.0

@license MIT

Author
Daniel Kinzler
Thiemo Kreuz

Constructor & Destructor Documentation

◆ __construct()

Wikimedia\Assert\ParameterKeyTypeException::__construct ( $parameterName,
$type )
Parameters
string$parameterName
string$type
Exceptions
ParameterTypeException

Reimplemented from Wikimedia\Assert\ParameterAssertionException.

Member Function Documentation

◆ getType()

Wikimedia\Assert\ParameterKeyTypeException::getType ( )
Returns
string

The documentation for this class was generated from the following file: