Overview

Namespaces

  • Baguette
    • Application
    • Response
    • Serializer
    • Session

Classes

  • ArraySession
  • PhpSession

Interfaces

  • SessionInterface
  • Overview
  • Namespace
  • Class

Class PhpSession

Session class based on PHP

Baguette\Session\PhpSession 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/PhpSession.php
Methods summary
public
# __construct( array $options = [] )
public boolean
# start( )

Returns

boolean

Implementation of

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

Returns

string
id

Link

http://php.net/manual/function.session-id.php

Implementation of

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

Parameters

$delete_old_session

Returns

boolean

Link

http://php.net/manual/function.session-regenerate-id.php

Implementation of

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

Parameters

$name
$options

Returns

mixed
$value

Implementation of

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

Returns

array
public
# set( string $name, mixed $value )

Parameters

$name
$value

Implementation of

Baguette\Session\SessionInterface::set()
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()
ξ ^ω^)ξ < Baguette Not Framework API documentation generated by ApiGen