Bookable
7 months ago
Booking
4 weeks ago
Cabinet
7 months ago
Calendar
4 months ago
Entities
7 months ago
Google
4 months ago
Import
2 months ago
Invoice
7 months ago
Mobile
1 month ago
Notification
6 months ago
Payment
4 months ago
QrCode
7 months ago
Settings
4 weeks ago
SocialLogin
7 months ago
Square
7 months ago
Stash
7 months ago
Stats
7 months ago
Stripe
7 months ago
Tax
7 months ago
Test
7 months ago
TimeSlots
7 months ago
User
4 months ago
WhatsNew
7 months ago
Routes.php
7 months ago
Routes.php
32 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; |
| 9 | |
| 10 | use AmeliaBooking\Infrastructure\Common\Container; |
| 11 | use AmeliaBooking\Infrastructure\Licence; |
| 12 | use Slim\App; |
| 13 | |
| 14 | /** |
| 15 | * Class Routes |
| 16 | * |
| 17 | * API Routes for the Amelia app |
| 18 | * |
| 19 | * @package AmeliaBooking\Infrastructure\Routes |
| 20 | */ |
| 21 | class Routes |
| 22 | { |
| 23 | /** |
| 24 | * @param App $app |
| 25 | * @param Container $container |
| 26 | */ |
| 27 | public static function routes(App $app, Container $container) |
| 28 | { |
| 29 | Licence\Licence::setRoutes($app, $container); |
| 30 | } |
| 31 | } |
| 32 |