47 lines
1 KiB
YAML
47 lines
1 KiB
YAML
name: NativeFileSessionHandler
|
|
class_comment: '# * Native session handler using PHP''s built in file storage.
|
|
|
|
# *
|
|
|
|
# * @author Drak <drak@zikula.org>'
|
|
dependencies: []
|
|
properties: []
|
|
methods:
|
|
- name: __construct
|
|
visibility: public
|
|
parameters:
|
|
- name: savePath
|
|
default: 'null'
|
|
comment: '# * Native session handler using PHP''s built in file storage.
|
|
|
|
# *
|
|
|
|
# * @author Drak <drak@zikula.org>
|
|
|
|
# */
|
|
|
|
# class NativeFileSessionHandler extends \SessionHandler
|
|
|
|
# {
|
|
|
|
# /**
|
|
|
|
# * @param string|null $savePath Path of directory to save session files
|
|
|
|
# * Default null will leave setting as defined by
|
|
PHP.
|
|
|
|
# * ''/path'', ''N;/path'', or ''N;octal-mode;/path
|
|
|
|
# *
|
|
|
|
# * @see https://php.net/session.configuration#ini.session.save-path for further
|
|
details.
|
|
|
|
# *
|
|
|
|
# * @throws \InvalidArgumentException On invalid $savePath
|
|
|
|
# * @throws \RuntimeException When failing to create the save directory'
|
|
traits: []
|
|
interfaces: []
|