print_r($get->getResult()); } else { print_r($get->getLastError()); } /** * Sample call for GetStreamingEvents operation/method */ if ($get->GetStreamingEvents(new \Ews\StructType\EwsGetStreamingEventsType()) !== false) { print_r($get->getResult()); } else { print_r($get->getLastError()); } /** * Sample call for GetItem operation/method */ if ($get->GetItem(new \Ews\StructType\EwsGetItemType()) !== false) { print_r($get->getResult()); } else { print_r($get->getLastError()); } /** * Sample call for GetAttachment operation/method */ if ($get->GetAttachment(new \Ews\StructType\EwsGetAttachmentType()) !== false) { print_r($get->getResult()); } else { print_r($get->getLastError()); } /** * Sample call for GetClientAccessToken operation/method */