Bookable
2 years ago
Booking
1 year ago
Cabinet
2 years ago
Entities
7 years ago
Import
4 years ago
Invoice
1 year ago
Notification
2 years ago
Payment
2 years ago
Settings
2 years ago
Square
1 year ago
Stash
5 years ago
Stats
7 years ago
Stripe
2 years ago
Tax
2 years ago
Test
2 years ago
TimeSlots
7 years ago
User
1 year ago
WhatsNew
2 years ago
Routes.php
2 years ago
Routes.php
31 lines
| 1 | <?php |
| 2 | /** |
| 3 | * @copyright © TMS-Plugins. All rights reserved. |
| 4 | * @licence See COPYING.md for license details. |
| 5 | */ |
| 6 | |
| 7 | namespace AmeliaBooking\Infrastructure\Routes; |
| 8 | |
| 9 | use AmeliaBooking\Infrastructure\Common\Container; |
| 10 | use AmeliaBooking\Infrastructure\Licence; |
| 11 | use Slim\App; |
| 12 | |
| 13 | /** |
| 14 | * Class Routes |
| 15 | * |
| 16 | * API Routes for the Amelia app |
| 17 | * |
| 18 | * @package AmeliaBooking\Infrastructure\Routes |
| 19 | */ |
| 20 | class Routes |
| 21 | { |
| 22 | /** |
| 23 | * @param App $app |
| 24 | * @param Container $container |
| 25 | */ |
| 26 | public static function routes(App $app, Container $container) |
| 27 | { |
| 28 | Licence\Licence::setRoutes($app, $container); |
| 29 | } |
| 30 | } |
| 31 |