* SZEP balance implemented web,cli

* xml tidy
* small code cleanup
This commit is contained in:
Danyi Dávid
2020-01-29 20:36:53 +01:00
parent e1482ced6d
commit f97ed69ce7
10 changed files with 164 additions and 12 deletions

View File

@@ -35,5 +35,6 @@ use Zend\Expressive\MiddlewareFactory;
return function (Application $app, MiddlewareFactory $factory, ContainerInterface $container) : void {
$app->get('/', App\Action\HomePageAction::class, 'home');
$app->get('/list', App\Action\PingAction::class, 'api.list');
$app->get('/szep/balance', App\Action\SZEPBalanceAction::class, 'api.szep.balance');
$app->post('/store/{direction:sent|received}/{hashKey}', App\Action\StoreAction::class, 'api.store');
};