1 | <?php |
||
13 | class HistoryPlugin implements Plugin |
||
14 | { |
||
15 | /** |
||
16 | * @var Journal Journal use to store request / responses / exception. |
||
17 | */ |
||
18 | private $journal; |
||
19 | |||
20 | /** |
||
21 | * @param Journal $journal Journal use to store request / responses / exception. |
||
22 | */ |
||
23 | 3 | public function __construct(Journal $journal) |
|
27 | |||
28 | /** |
||
29 | * {@inheritdoc} |
||
30 | */ |
||
31 | 2 | public function handleRequest(RequestInterface $request, callable $next, callable $first) |
|
45 | } |
||
46 |