Interface Phalcon\Session\BagInterface

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

© 2011–2016 Phalcon Framework Team
Licensed under the Creative Commons Attribution License 3.0.
https://docs.phalconphp.com/en/2.0.0/api/Phalcon_Session_BagInterface.html