noError() public static méthode

Checks that the function does not generate PHP error and does not throw exception.
public static noError ( $function ) : void
Résultat void
 /**
  * Checks that the function does not generate PHP error and does not throw exception.
  * @param callable $function
  * @return void
  */
 public function noError($function)
 {
     Assert::noError($function);
 }