Cartalyst\Sentinel\Sessions\IlluminateSession::__construct PHP Method

__construct() public method

Create a new Illuminate Session driver.
public __construct ( Illuminate\Session\Store $session, string $key = null ) : void
$session Illuminate\Session\Store
$key string
return void
    public function __construct(SessionStore $session, $key = null)
    {
        $this->session = $session;
        if (isset($key)) {
            $this->key = $key;
        }
    }