File manager - Edit - /home/premiey/www/wp-content/plugins/ameliabooking/src/Infrastructure/Routes/Payment/Payment.php
Back
<?php /** * @copyright © TMS-Plugins. All rights reserved. * @licence See COPYING.md for license details. */ namespace AmeliaBooking\Infrastructure\Routes\Payment; use AmeliaBooking\Application\Controller\Payment\AddPaymentController; use AmeliaBooking\Application\Controller\Payment\CreatePaymentLinkController; use AmeliaBooking\Application\Controller\Payment\DeletePaymentController; use AmeliaBooking\Application\Controller\Payment\CalculatePaymentAmountController; use AmeliaBooking\Application\Controller\Payment\GetPaymentController; use AmeliaBooking\Application\Controller\Payment\GetPaymentsController; use AmeliaBooking\Application\Controller\Payment\GetTransactionAmountController; use AmeliaBooking\Application\Controller\Payment\PaymentCallbackController; use AmeliaBooking\Application\Controller\Payment\PaymentLinkController; use AmeliaBooking\Application\Controller\Payment\RefundPaymentController; use AmeliaBooking\Application\Controller\Payment\UpdatePaymentController; use Slim\App; /** * Class Payment * * @package AmeliaBooking\Infrastructure\Routes\Payment */ class Payment { /** * @param App $app */ public static function routes(App $app) { $app->get('/payments', GetPaymentsController::class); $app->get('/payments/{id:[0-9]+}', GetPaymentController::class); $app->post('/payments', AddPaymentController::class); $app->post('/payments/delete/{id:[0-9]+}', DeletePaymentController::class); $app->post('/payments/{id:[0-9]+}', UpdatePaymentController::class); $app->post('/payments/amount', CalculatePaymentAmountController::class); $app->get('/payments/transaction/{id:[0-9]+}', GetTransactionAmountController::class); $app->get('/payments/callback', PaymentCallbackController::class); $app->post('/payments/callback', PaymentCallbackController::class); $app->post('/payments/link', PaymentLinkController::class); } }
| ver. 1.4 |
Github
|
.
| PHP 5.4.45 | Generation time: 0 |
proxy
|
phpinfo
|
Settings