Skip to content

Instantly share code, notes, and snippets.

@zabaala
Created September 12, 2017 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zabaala/3fcbec17850be0b9d6bbfafd67d3a309 to your computer and use it in GitHub Desktop.
Save zabaala/3fcbec17850be0b9d6bbfafd67d3a309 to your computer and use it in GitHub Desktop.
<?php
namespace App\Http\Controllers;
use App\Http\Controllers\Controller;
class AplicacaoController extends Controller
{
private $session;
public function __construct(Illuminate\Session\SessionManager $session)
{
$this->session = $session;
}
public function paginaInicial()
{
dd($this->session);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment