Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
ExceptionSimulate | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
__invoke | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | namespace BO\Slim\Controller; |
4 | |
5 | use Psr\Http\Message\RequestInterface; |
6 | use Psr\Http\Message\ResponseInterface; |
7 | |
8 | class ExceptionSimulate extends \BO\Slim\Controller |
9 | { |
10 | public function __invoke(RequestInterface $request, ResponseInterface $response, array $args) |
11 | { |
12 | throw new \Exception("Unexpected exception simulation"); |
13 | } |
14 | } |