Files
raby/provm/common/Definition/Controller.php

10 lines
247 B
PHP
Raw Normal View History

2020-02-27 19:09:54 -03:00
<?php
namespace ProVM\Common\Definition;
use Psr\Http\Message\ResponseInterface as Response;
interface Controller {
public function withJSON(Response $response, string $data): Response;
public function withRedirect(string $uri): Response;
}