PHP Class Cartalyst\Sentinel\Cookies\CICookie

Inheritance: implements Cartalyst\Sentinel\Cookies\CookieInterface
显示文件 Open project: cartalyst/sentinel Class Usage Examples

Protected Properties

Property Type Description
$input CI_Input The CodeIgniter input object.
$options array The cookie options.

Public Methods

Method Description
__construct ( CI_Input $input, string | array $options = [] ) : void Create a new CodeIgniter cookie driver.
forget ( ) {@inheritDoc}
get ( ) {@inheritDoc}
put ( $value ) {@inheritDoc}

Method Details

__construct() public method

Create a new CodeIgniter cookie driver.
public __construct ( CI_Input $input, string | array $options = [] ) : void
$input CI_Input
$options string | array
return void

forget() public method

{@inheritDoc}
public forget ( )

get() public method

{@inheritDoc}
public get ( )

put() public method

{@inheritDoc}
public put ( $value )

Property Details

$input protected_oe property

The CodeIgniter input object.
protected CI_Input $input
return CI_Input

$options protected_oe property

The cookie options.
protected array $options
return array