Users::__construct( TribeEventsVirtualMeetingsZoomApi $api, TribeEventsVirtualEncryption $encryption, $admin_template )
Users constructor.
Contents
Parameters
- $api
-
(TribeEventsVirtualMeetingsZoomApi) (Required) An instance of the Zoom API handler.
- $encryption
-
(TribeEventsVirtualEncryption) (Required) An instance of the Encryption handler.
- $template
-
(TribeEventsVirtualAdmin_Template) (Required) An instance of the Template class to handle the rendering of admin views.
Source
File: src/Tribe/Meetings/Zoom/Users.php
public function __construct( Api $api, Encryption $encryption, Admin_Template $admin_template ) {
$this->api = $api;
$this->encryption = ( ! empty( $encryption ) ? $encryption : tribe( Encryption::class ) );
$this->admin_template = $admin_template;
}
Changelog
| Version | Description |
|---|---|
| 1.8.2 | - Add the admin template class. |
| 1.4.0 | Introduced. |