Bluz\Session\Adapter\Cache
Cache session handler
Synopsis
- // Inherited members from AbstractAdapter
- protected $handler;
- protected string $prefix;
- protected integer $ttl;
- // methods
- public void __construct()
- public string read()
- public bool write()
- public bool destroy()
- // Inherited methods from AbstractAdapter
- protected string prepareId()
- public bool open()
- public bool close()
- public bool gc()
Hierarchy
Tasks
Line | Task |
---|---|
22+ | Migrate to {@link https://github.com/php-cache/session-handler PSR-6 Session handler} |
Members
protected
- $handler — mixed
- $prefix — string
- $ttl — integer
Methods
public
- __construct() — Check and setup Redis server
- destroy() — Destroy a session
- read() — Read session data
- write() — Write session data
Inherited from Bluz\Session\Adapter\AbstractAdapter
protected
- prepareId() — Prepare Id - add prefix
public
History
-
2017-10-26T11:09:23+00:00 (commit #0a9df53)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Updated Session adapters
-
2017-06-30T08:36:40+00:00 (commit #2259ecf)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Fixed comments style
-
2017-04-21T15:13:17+00:00 (commit #5e9b7bc)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Small codestyle fixes
-
2017-04-21T13:24:35+00:00 (commit #3b25a3d)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Small update for codestyle
-
2017-02-15T16:09:44+00:00 (commit #0fc0c8b)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Updated coveralls config
-
2017-02-13T10:14:18+00:00 (commit #43dbf55)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Rollback to `getCount()` method
-
2017-01-30T13:15:49+00:00 (commit #fd5d943)
Author: Anton (AntonShevchuk@gmail.com) / Commiter: GitHub (AntonShevchuk@gmail.com)
Merge pull request #395 from AntonShevchuk/master Added `AttachmentResponse`
-
2017-01-30T12:38:53+00:00 (commit #0ab8691)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Added `AttachmentResponse` Added `attachment($file)` helper for `Controller`