Session\BagInterface

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部