'2014-12-06T11:00:00Z', // 'end_time'=>'2014-12-12T11:00:00Z' ); // ### Search Webhook events try { $output = \PayPal\Api\WebhookEvent::all($params, $apiContext); } catch (Exception $ex) { // NOTE: PLEASE DO NOT USE RESULTPRINTER CLASS IN YOUR ORIGINAL CODE. FOR SAMPLE ONLY ResultPrinter::printError("Search Webhook events", "WebhookEventList", null, null, $ex); exit(1); } // NOTE: PLEASE DO NOT USE RESULTPRINTER CLASS IN YOUR ORIGINAL CODE. FOR SAMPLE ONLY ResultPrinter::printResult("Search Webhook events", "WebhookEventList", null, $params, $output); return $output;