- \PHPUnit_Util_InvalidArgumentHelper
class (none) \ PHPUnit_Util_InvalidArgumentHelper
Factory for PHPUnit_Framework_Exception objects that are used to describe invalid arguments passed to a function or method.
Method Summary
Name | Description |
---|---|
factory($argument, $type, $value = null) |
public static function factory($argument, $type, $value = null)
- Parameters:
integer
- $argumentstring
- $typemixed
- $value- Defaults:
value
=null
- Returns:
- PHPUnit_Framework_Exception