Overview

Namespaces

  • Baguette
    • Application
    • Response
    • Serializer
    • Session

Classes

  • ArraySession
  • PhpSession

Interfaces

  • SessionInterface
  • Overview
  • Namespace
  • Class

Class ArraySession

Session class based on Array

Baguette\Session\ArraySession implements Baguette\Session\SessionInterface
Namespace: Baguette\Session
Copyright: 2016 Baguette HQ
License: Apache-2.0
Author: USAMI Kenta tadsan@zonu.me
Link: http://php.net/manual/book.session.php
Located at Session/ArraySession.php
Methods summary
public
# __construct( array $options = [] )
public boolean
# start( )

Returns

boolean

Implementation of

Baguette\Session\SessionInterface::start()
public string
# id( string $id = null )

Parameters

$id

Returns

string
id

Implementation of

Baguette\Session\SessionInterface::id()
public boolean
# regenerateId( boolean $_delete_old_session = false )

Parameters

$_delete_old_session

Returns

boolean

Implementation of

Baguette\Session\SessionInterface::regenerateId()
public mixed
# get( string $key, array $options = [] )

Parameters

$key
$options

Returns

mixed
$value

Implementation of

Baguette\Session\SessionInterface::get()
public
# set( string $key, mixed $value )

Parameters

$key
$value

Implementation of

Baguette\Session\SessionInterface::set()
public array
# getAll( )

Returns

array
public string
# name( string $name = null )

Parameters

$name

Returns

string

Implementation of

Baguette\Session\SessionInterface::name()
public boolean
# destroy( )

Returns

boolean

Implementation of

Baguette\Session\SessionInterface::destroy()
Constants summary
string SESSID_CHARS
# '-ABCDEFGHIJKLMNOPQRSQUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'
ξ ^ω^)ξ < Baguette Not Framework API documentation generated by ApiGen