PHP Class Pramda\Exception

Inheritance: extends Exception
Mostrar archivo Open project: kapolos/pramda Class Usage Examples

Public Methods

Method Description
assertArray ( $collection )
assertCallable ( callable $callable )
assertInteger ( integer | float $number )
assertList ( mixed $collection )
assertNonZero ( integer | float $number )
assertNumber ( integer | float $number )
assertPositiveInteger ( integer | float $number )
assertPositiveIntegerOrZero ( integer | float $number )
assertString ( string $str )

Method Details

assertArray() public static method

public static assertArray ( $collection )
$collection

assertCallable() public static method

public static assertCallable ( callable $callable )
$callable callable

assertInteger() public static method

public static assertInteger ( integer | float $number )
$number integer | float

assertList() public static method

public static assertList ( mixed $collection )
$collection mixed

assertNonZero() public static method

public static assertNonZero ( integer | float $number )
$number integer | float

assertNumber() public static method

public static assertNumber ( integer | float $number )
$number integer | float

assertPositiveInteger() public static method

public static assertPositiveInteger ( integer | float $number )
$number integer | float

assertPositiveIntegerOrZero() public static method

public static assertPositiveIntegerOrZero ( integer | float $number )
$number integer | float

assertString() public static method

public static assertString ( string $str )
$str string