Uname: Linux webm012.cluster130.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Software: Apache
PHP version: 8.0.30 [ PHP INFO ] PHP os: Linux
Server Ip: 145.239.37.162
Your Ip: 216.73.216.190
User: dreampi (1009562) | Group: users (100)
Safe Mode: OFF
Disable Function:
_dyuweyrj4,_dyuweyrj4r,dl

name : Service.php
<?php

/**
 * @copyright © TMS-Plugins. All rights reserved.
 * @licence   See COPYING.md for license details.
 */

namespace AmeliaBooking\Infrastructure\Routes\Bookable;

use AmeliaBooking\Application\Controller\Bookable\Service\AddServiceController;
use AmeliaBooking\Application\Controller\Bookable\Service\DeleteServiceController;
use AmeliaBooking\Application\Controller\Bookable\Service\GetServiceController;
use AmeliaBooking\Application\Controller\Bookable\Service\GetServiceDeleteEffectController;
use AmeliaBooking\Application\Controller\Bookable\Service\GetServicesController;
use AmeliaBooking\Application\Controller\Bookable\Service\UpdateServiceController;
use AmeliaBooking\Application\Controller\Bookable\Service\UpdateServicesPositionsController;
use AmeliaBooking\Application\Controller\Bookable\Service\UpdateServiceStatusController;
use Slim\App;

/**
 * Class Service
 *
 * @package AmeliaBooking\Infrastructure\Routes\Bookable
 */
class Service
{
    /**
     * @param App $app
     */
    public static function routes(App $app)
    {
        $app->get('/services', GetServicesController::class);

        $app->get('/services/{id:[0-9]+}', GetServiceController::class);

        $app->post('/services', AddServiceController::class);

        $app->post('/services/delete/{id:[0-9]+}', DeleteServiceController::class);

        $app->post('/services/{id:[0-9]+}', UpdateServiceController::class);

        $app->get('/services/effect/{id:[0-9]+}', GetServiceDeleteEffectController::class);

        $app->post('/services/status/{id:[0-9]+}', UpdateServiceStatusController::class);

        $app->post('/services/positions', UpdateServicesPositionsController::class);
    }
}
© 2026 GrazzMean-Shell