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

__construct() public method

Create a new FuelPHP Session driver.
public __construct ( Fuel\Core\Session_Driver $store, string $key = null ) : void
$store Fuel\Core\Session_Driver
$key string
return void
    public function __construct(Session $store, $key = null)
    {
        $this->store = $store;
        if (isset($key)) {
            $this->key = $key;
        }
    }