PHP Class Cartalyst\Sentinel\Cookies\IlluminateCookie

Inheritance: implements Cartalyst\Sentinel\Cookies\CookieInterface
Mostrar archivo Open project: cartalyst/sentinel Class Usage Examples

Protected Properties

Property Type Description
$jar Illuminate\Cookie\CookieJar The cookie object.
$key string The cookie key.
$request Illuminate\Http\Request The current request.

Public Methods

Method Description
__construct ( Illuminate\Http\Request $request, Illuminate\Cookie\CookieJar $jar, string $key = null ) : void Create a new Illuminate cookie driver.
forget ( ) {@inheritDoc}
get ( ) {@inheritDoc}
put ( $value ) {@inheritDoc}

Method Details

__construct() public method

Create a new Illuminate cookie driver.
public __construct ( Illuminate\Http\Request $request, Illuminate\Cookie\CookieJar $jar, string $key = null ) : void
$request Illuminate\Http\Request
$jar Illuminate\Cookie\CookieJar
$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

$jar protected_oe property

The cookie object.
protected CookieJar,Illuminate\Cookie $jar
return Illuminate\Cookie\CookieJar

$key protected_oe property

The cookie key.
protected string $key
return string

$request protected_oe property

The current request.
protected Request,Illuminate\Http $request
return Illuminate\Http\Request