Config

Class Config

package

Ascmvc\Session

Methods

Config constructor.

__construct(array $config = array()) 

Arguments

$config

array

Gets a session element of data.

get(string $name = '') : array|mixed|null

Arguments

$name

string

Response

array|mixed|null

Sets a session element of data.

set( $name,  $value) 

Arguments

$name

$value

Constants

TYPE_STR

TYPE_STR

TYPE_NUMBER

TYPE_NUMBER

Properties

Contains the basic session data.

data : array
var

Type(s)

array