ameliabooking
/
src
/
Infrastructure
/
Routes
/
Settings
/
FeaturesIntegrations
/
FeaturesIntegrations.php
FeaturesIntegrations.php
23 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * @copyright © Melograno Ventures. All rights reserved. |
| 5 | * @licence See COPYING.md for license details. |
| 6 | */ |
| 7 | |
| 8 | namespace AmeliaBooking\Infrastructure\Routes\Settings\FeaturesIntegrations; |
| 9 | |
| 10 | use AmeliaBooking\Application\Controller\Settings\FeaturesIntegrations\ToggleFeatureIntegrationController; |
| 11 | use Slim\App; |
| 12 | |
| 13 | class FeaturesIntegrations |
| 14 | { |
| 15 | /** |
| 16 | * @param App $app |
| 17 | */ |
| 18 | public static function routes(App $app) |
| 19 | { |
| 20 | $app->post('/settings/features-integrations/toggle', ToggleFeatureIntegrationController::class); |
| 21 | } |
| 22 | } |
| 23 |