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

__construct() public method

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