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

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

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

Public Member Functions

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

Detailed Description

Exception indicating that a parameter element type assertion failed.

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

Since
0.1.0

@license MIT

Author
Daniel Kinzler

Constructor & Destructor Documentation

◆ __construct()

Wikimedia\Assert\ParameterElementTypeException::__construct ( $parameterName,
$elementType )
Parameters
string$parameterName
string$elementType
Exceptions
ParameterTypeException

Reimplemented from Wikimedia\Assert\ParameterAssertionException.

Member Function Documentation

◆ getElementType()

Wikimedia\Assert\ParameterElementTypeException::getElementType ( )
Returns
string

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