| Total Complexity | 1 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | class SessionBootloader extends Bootloader |
||
| 23 | { |
||
| 24 | const BOOT = true; |
||
| 25 | |||
| 26 | const BINDINGS = [ |
||
| 27 | SessionInterface::class => Session::class, |
||
| 28 | SectionInterface::class => SessionSection::class |
||
| 29 | ]; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Automatically registers session starter middleware and excludes session cookie from |
||
| 33 | * cookie protection. |
||
| 34 | * |
||
| 35 | * @param ConfiguratorInterface $configurator |
||
| 36 | * @param ModifierInterface $modifier |
||
| 37 | */ |
||
| 38 | public function boot(ConfiguratorInterface $configurator, ModifierInterface $modifier) |
||
| 54 | } |