GeneralSettings.php
1 year ago
GoogleMeetSettings.php
2 years ago
LessonSpaceSettings.php
4 years ago
MicrosoftTeamsSettings.php
1 year ago
PaymentLinksSettings.php
3 years ago
PaymentMollieSettings.php
5 years ago
PaymentPayPalSettings.php
6 years ago
PaymentSettings.php
1 year ago
PaymentSquareSettings.php
1 year ago
PaymentStripeSettings.php
6 years ago
PaymentWooCommerceSettings.php
6 years ago
Settings.php
1 year ago
ZoomSettings.php
6 years ago
ZoomSettings.php
45 lines
| 1 | <?php |
| 2 | /** |
| 3 | * @copyright © TMS-Plugins. All rights reserved. |
| 4 | * @licence See LICENCE.md for license details. |
| 5 | */ |
| 6 | |
| 7 | namespace AmeliaBooking\Domain\Entity\Settings; |
| 8 | |
| 9 | /** |
| 10 | * Class ZoomSettings |
| 11 | * |
| 12 | * @package AmeliaBooking\Domain\Entity\Settings |
| 13 | */ |
| 14 | class ZoomSettings |
| 15 | { |
| 16 | /** @var bool */ |
| 17 | private $enabled; |
| 18 | |
| 19 | /** |
| 20 | * @return bool |
| 21 | */ |
| 22 | public function getEnabled() |
| 23 | { |
| 24 | return $this->enabled; |
| 25 | } |
| 26 | |
| 27 | /** |
| 28 | * @param bool $enabled |
| 29 | */ |
| 30 | public function setEnabled($enabled) |
| 31 | { |
| 32 | $this->enabled = $enabled; |
| 33 | } |
| 34 | |
| 35 | /** |
| 36 | * @return array |
| 37 | */ |
| 38 | public function toArray() |
| 39 | { |
| 40 | return [ |
| 41 | 'enabled' => $this->getEnabled(), |
| 42 | ]; |
| 43 | } |
| 44 | } |
| 45 |