This commit is contained in:
2021-03-18 23:25:35 -03:00
parent 4611e901fc
commit 4ed9c834eb
55 changed files with 63543 additions and 0 deletions

View File

@ -0,0 +1,15 @@
<?php
namespace ProVM\Money\Common\Controller;
use Psr\Http\Message\ServerRequestInterface as Request;
use Psr\Http\Message\ResponseInterface as Response;
use Slim\Views\Blade as View;
class Currencies {
public function __invoke(Request $request, Response $response, View $view): Response {
return $view->render($response, 'currencies.list');
}
public function show(Request $request, Response $response, View $view, $currency_id): Response {
return $view->render($response, 'currencies.show', compact('currency_id'));
}
}