Total Complexity | 4 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
26 | class SignOn implements RequestHandlerInterface |
||
27 | { |
||
28 | /** |
||
29 | * Environment::handle |
||
30 | * |
||
31 | * Handles a request and produces a response |
||
32 | * |
||
33 | * May call other collaborating code to generate the response. |
||
34 | * |
||
35 | * @param \O2System\Psr\Http\Message\ServerRequestInterface $request |
||
36 | */ |
||
37 | public function handle(ServerRequestInterface $request) |
||
48 | } |
In general, usage of exit should be done with care and only when running in a scripting context like a CLI script.