PHP Class Cartalyst\Sentinel\Sessions\CISession

Inheritance: implements Cartalyst\Sentinel\Sessions\SessionInterface
Show file Open project: cartalyst/sentinel Class Usage Examples

Protected Properties

Property Type Description
$key string The session key.
$store CI_Session The CodeIgniter session driver.

Public Methods

Method Description
__construct ( CI_Session $store, string $key = null ) : void Create a new CodeIgniter Session driver.
forget ( ) {@inheritDoc}
get ( ) {@inheritDoc}
put ( $value ) {@inheritDoc}

Method Details

__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

forget() public method

{@inheritDoc}
public forget ( )

get() public method

{@inheritDoc}
public get ( )

put() public method

{@inheritDoc}
public put ( $value )

Property Details

$key protected property

The session key.
protected string $key
return string

$store protected property

The CodeIgniter session driver.
protected CI_Session $store
return CI_Session