PHP Class Pramda\Exception

Inheritance: extends Exception
Afficher le fichier Open project: kapolos/pramda Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public static assertArray ( $collection )
$collection

assertCallable() public static méthode

public static assertCallable ( callable $callable )
$callable callable

assertInteger() public static méthode

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

assertList() public static méthode

public static assertList ( mixed $collection )
$collection mixed

assertNonZero() public static méthode

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

assertNumber() public static méthode

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

assertPositiveInteger() public static méthode

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

assertPositiveIntegerOrZero() public static méthode

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

assertString() public static méthode

public static assertString ( string $str )
$str string