CookieSessionHandler
class CookieSessionHandler implements SessionHandlerInterface (View source)
Свойства
| protected CookieJar | $cookie | Экземпляр хранилища cookie. | |
| protected Request | $request | Экземпляр запроса. |
Методы
| void | __construct(CookieJar $cookie, int $minutes) Создаёт новый экземпляр обработчика сессий, использующего cookie. | |
| open($savePath, $sessionName) {@inheritDoc} | ||
| close() {@inheritDoc} | ||
| read($sessionId) {@inheritDoc} | ||
| write($sessionId, $data) {@inheritDoc} | ||
| destroy($sessionId) {@inheritDoc} | ||
| gc($lifetime) {@inheritDoc} | ||
| void | setRequest(Request $request) Устанавливает экземпляр запроса. |
Подробное описание
void __construct(CookieJar $cookie, int $minutes)
Создаёт новый экземпляр обработчика сессий, использующего cookie.
open($savePath, $sessionName)
{@inheritDoc}
close()
{@inheritDoc}
read($sessionId)
{@inheritDoc}
write($sessionId, $data)
{@inheritDoc}
destroy($sessionId)
{@inheritDoc}
gc($lifetime)
{@inheritDoc}
void setRequest(Request $request)
Устанавливает экземпляр запроса.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/4.2/Illuminate/Session/CookieSessionHandler.html