*/
class CRM_Queue_ErrorPolicy {
var $active;
+
+ /**
+ * @param null $level
+ */
function __construct($level = NULL) {
register_shutdown_function(array($this, 'onShutdown'));
if ($level === NULL) {
$this->active = FALSE;
}
+ /**
+ * @param $callable
+ *
+ * @return mixed
+ */
function call($callable) {
$this->activate();
try {