Documentation

Interface Phalcon\Session\BagInterface

Source on GitHub

Phalcon\Session\BagInterface initializer

Methods

abstract public initialize ()

Initializes the session bag. This method must not be called directly, the class calls it when its internal data is accesed

abstract public destroy ()

Destroyes the session bag

abstract public set (string $property, string $value)

Setter of values

abstract public mixed get (string $property, [mixed $defaultValue])

Getter of values

abstract public boolean has (string $property)

Isset property

abstract public remove (string $property)

Unset property