Код: Выделить всё
public function __construct()
{
dd(Session::all()); //this is empty array
}
Код: Выделить всё
public function index()
{
dd(Session::all()); //here works
}
Подробнее здесь: https://stackoverflow.com/questions/415 ... onstructor
Код: Выделить всё
public function __construct()
{
dd(Session::all()); //this is empty array
}
Код: Выделить всё
public function index()
{
dd(Session::all()); //here works
}