| 1 | <?php |
||
| 17 | /*final*/ class HistoryPlugin implements Plugin |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * Journal use to store request / responses / exception. |
||
| 21 | * |
||
| 22 | * @var Journal |
||
| 23 | */ |
||
| 24 | private $journal; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param Journal $journal |
||
| 28 | */ |
||
| 29 | 3 | public function __construct(Journal $journal) |
|
| 33 | |||
| 34 | /** |
||
| 35 | * {@inheritdoc} |
||
| 36 | */ |
||
| 37 | 2 | public function handleRequest(RequestInterface $request, callable $next, callable $first) |
|
| 51 | } |
||
| 52 |