| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 38 | public function boot(ConfiguratorInterface $configurator, ModifierInterface $modifier) |
||
| 39 | { |
||
| 40 | $session = $configurator->getConfig('session'); |
||
| 41 | |||
| 42 | $modifier->modify('http', new AppendPatch( |
||
| 43 | 'cookies.excluded', |
||
| 44 | null, |
||
| 45 | $session['cookie'] |
||
| 46 | )); |
||
| 47 | |||
| 48 | $modifier->modify('http', new AppendPatch( |
||
| 49 | 'middleware', |
||
| 50 | null, |
||
| 51 | SessionMiddleware::class |
||
| 52 | )); |
||
| 53 | } |
||
| 54 | } |