We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6226d33 commit eb65adcCopy full SHA for eb65adc
src/Extension/Laravel/Session.php
@@ -13,24 +13,24 @@
13
14
use Twig_Extension;
15
use Twig_SimpleFunction;
16
-use Illuminate\Session\SessionManager;
+use Illuminate\Session\Store;
17
18
/**
19
* Access Laravels session class in your Twig templates.
20
*/
21
class Session extends Twig_Extension
22
{
23
24
- * @var \Illuminate\Session\SessionManager
+ * @var \Illuminate\Session\Store
25
26
protected $session;
27
28
29
* Create a new session extension
30
*
31
- * @param \Illuminate\Session\SessionManager
+ * @param \Illuminate\Session\Store
32
33
- public function __construct(SessionManager $session)
+ public function __construct(Store $session)
34
35
$this->session = $session;
36
}
0 commit comments