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