Documentation

setAssertionThrowsException

void public
\Bitrix\Main\Diag\ExceptionHandler::setAssertionThrowsException(
 boolean $assertionThrowsException
);

Non-static method if exception is thrown by assertion.

Parameters

ParameterDescriptionVersion
$assertionThrowsExceptionWhen true, assertion will throw an exception.

Example



© «Bitrix24», 2001-2024
Up