<?php
namespace Illuminate\Session;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Session\SessionInterface as BaseSessionInterface;
interface SessionInterface extends BaseSessionInterface
{
/**
* Checks if an attribute exists.
*
* @param string|array $key
* @return bool
*/
public function exists($key);
/**
* Get the session handler instance.
*
* @return \SessionHandlerInterface
*/
public function getHandler();
/**
* Determine if the session handler needs a request.
*
* @return bool
*/
public function handlerNeedsRequest();
/**
* Set the request on the handler instance.
*
* @param \Symfony\Component\HttpFoundation\Request $request
* @return void
*/
public function setRequestOnHandler(Request $request);
}