<?php
namespace ProVM\Money\Common\Controller;

use Psr\Http\Message\ServerRequestInterface as Request;
use Psr\Http\Message\ResponseInterface as Response;
use ProVM\Common\Define\Controller\Json;

class API {
  use Json;

  public function __invoke(Request $request, Response $response): Response {
    $output = [
      'version' => '1.0.0'
    ];
    return $this->withJson($response, $output);
  }
}
