【Laravel3.0.0源码阅读分析】会话驱动接口driver.php
2021/6/1 22:23:49
本文主要是介绍【Laravel3.0.0源码阅读分析】会话驱动接口driver.php,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
<?php namespace Laravel\Session\Drivers; interface Driver { /** * Load a session from storage by a given ID. * 通过给定的ID从存储加载会话。 * If no session is found for the ID, null will be returned. * * @param string $id * @return array */ public function load($id); /** * Save a given session to storage. * 将给定的会话保存到存储。 * @param array $session * @param array $config * @param bool $exists * @return void */ public function save($session, $config, $exists); /** * Delete a session from storage by a given ID. * 通过给定的 ID 从存储中删除会话。 * @param string $id * @return void */ public function delete($id); }
github地址: https://github.com/liu-shilong/laravel3-scr
这篇关于【Laravel3.0.0源码阅读分析】会话驱动接口driver.php的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-07-05易优新手phpStudy本地安装教程-icode9专业技术文章分享
- 2024-07-03php客户端微信小程序根据分享携带参数进入指定页面-icode9专业技术文章分享
- 2024-07-02phpstrom链接ftp 提示上传成功 但是ftp代码没变-icode9专业技术文章分享
- 2024-06-30百度空间安装易优,如何去除URL中的index.php-icode9专业技术文章分享
- 2024-06-30宝塔Linux服务器隐藏index.php-icode9专业技术文章分享
- 2024-03-29env: php: no such file or directory
- 2024-03-01php foreach break
- 2024-02-26Exception参数 php-icode9专业技术文章分享
- 2023-12-30PHP文件批量上传-icode9专业技术文章分享
- 2023-12-30thinkphp6 withJoin-icode9专业技术文章分享