Permalink
Browse files

updated for nette/di 3

  • Loading branch information...
dg committed Feb 5, 2019
1 parent fe9a87f commit dce534b6538249992fcfd5a0ac636b5e44356a91
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/Bridges/HttpDI/SessionExtension.php
@@ -45,7 +45,8 @@ public function loadConfiguration()
$this->setConfig($config);
$session = $builder->addDefinition($this->prefix('session'))
->setFactory(Nette\Http\Session::class);
->setFactory(Nette\Http\Session::class)
->setExported();
if ($config['expiration']) {
$session->addSetup('setExpiration', [$config['expiration']]);

0 comments on commit dce534b

Please sign in to comment.