Function FirePHP->registerAssertionHandler

Definitions

sources/firephp.php

  • Register FirePHP driver as your assert callback
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$convertAssertionErrorsToExceptions boolean No No True N/A N/A $convertAssertionErrorsToExceptions
$throwAssertionExceptions boolean No No False N/A N/A $throwAssertionExceptions

Returns

  • Returns the original setting or FALSE on errors
  • Type: mixed
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Register FirePHP driver as your assert callback
 *
 * @param  boolean $convertAssertionErrorsToExceptions $convertAssertionErrorsToExceptions
 * @param  boolean $throwAssertionExceptions $throwAssertionExceptions
 * @return mixed Returns the original setting or FALSE on errors
 */

public function registerAssertionHandler($convertAssertionErrorsToExceptions = true, $throwAssertionExceptions = false)