PHP Class Functional\Exceptions\InvalidArgumentException

Inheritance: extends InvalidArgumentException
Exibir arquivo Open project: lstrojny/functional-php Class Usage Examples

Public Methods

Method Description
assertArrayAccess ( $collection, $callee, $parameterPosition )
assertArrayKeyExists ( $collection, $key, $callee )
assertBoolean ( boolean $value, string $callee, integer $parameterPosition )
assertCallback ( callable $callback, string $callee, integer $parameterPosition )
assertCollection ( $collection, $callee, $parameterPosition )
assertInteger ( boolean $value, string $callee, integer $parameterPosition )
assertIntegerGreaterThanOrEqual ( integer $value, integer $limit, string $callee, integer $parameterPosition )
assertIntegerLessThanOrEqual ( integer $value, integer $limit, string $callee, integer $parameterPosition )
assertMethodName ( $methodName, $callee, $parameterPosition )
assertPositiveInteger ( $value, $callee, $parameterPosition )
assertPropertyName ( string $propertyName, string $callee, integer $parameterPosition )
assertResolvablePlaceholder ( array $args, $position )
assertValidArrayKey ( mixed $key, string $callee )

Private Methods

Method Description
assertCollectionAlike ( $collection, string $className, string $callee, integer $parameterPosition )

Method Details

assertArrayAccess() public static method

public static assertArrayAccess ( $collection, $callee, $parameterPosition )

assertArrayKeyExists() public static method

public static assertArrayKeyExists ( $collection, $key, $callee )

assertBoolean() public static method

public static assertBoolean ( boolean $value, string $callee, integer $parameterPosition )
$value boolean
$callee string
$parameterPosition integer

assertCallback() public static method

public static assertCallback ( callable $callback, string $callee, integer $parameterPosition )
$callback callable
$callee string
$parameterPosition integer

assertCollection() public static method

public static assertCollection ( $collection, $callee, $parameterPosition )

assertInteger() public static method

public static assertInteger ( boolean $value, string $callee, integer $parameterPosition )
$value boolean
$callee string
$parameterPosition integer

assertIntegerGreaterThanOrEqual() public static method

public static assertIntegerGreaterThanOrEqual ( integer $value, integer $limit, string $callee, integer $parameterPosition )
$value integer
$limit integer
$callee string
$parameterPosition integer

assertIntegerLessThanOrEqual() public static method

public static assertIntegerLessThanOrEqual ( integer $value, integer $limit, string $callee, integer $parameterPosition )
$value integer
$limit integer
$callee string
$parameterPosition integer

assertMethodName() public static method

public static assertMethodName ( $methodName, $callee, $parameterPosition )

assertPositiveInteger() public static method

public static assertPositiveInteger ( $value, $callee, $parameterPosition )

assertPropertyName() public static method

public static assertPropertyName ( string $propertyName, string $callee, integer $parameterPosition )
$propertyName string
$callee string
$parameterPosition integer

assertResolvablePlaceholder() public static method

public static assertResolvablePlaceholder ( array $args, $position )
$args array

assertValidArrayKey() public static method

public static assertValidArrayKey ( mixed $key, string $callee )
$key mixed
$callee string