Bookable
6 months ago
Booking
1 month ago
Cabinet
6 months ago
Calendar
3 months ago
Entities
6 months ago
Google
3 months ago
Import
1 month ago
Invoice
6 months ago
Mobile
3 weeks ago
Notification
5 months ago
Payment
3 months ago
QrCode
6 months ago
Settings
6 months ago
SocialLogin
6 months ago
Square
6 months ago
Stash
6 months ago
Stats
6 months ago
Stripe
6 months ago
Tax
6 months ago
Test
6 months ago
TimeSlots
6 months ago
User
3 months ago
WhatsNew
6 months ago
Routes.php
6 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 |