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