JAVA 应用与开发 - 泛型0 码力 | 35 页 | 587.40 KB | 1 年前3
Laravel 5.2 中文文档如果你使用了 Auth::extend 方法自定义获取用户的方法,现在需要使 用 Auth::provider 来自定义用户提供者。一旦你自定义了提供者,就要在新 的 auth.php 配置文件中的 providers 数组中配置该提供者。 更多自定义认证提供者详情,请查看其对应文档。 本文档由 Laravel 学院(LaravelAcademy.org)提供 Laravel 学院致力于提供优质 功能,并且将邮件信息记录到日志中。 分页 为了与框架生成的其它 URL 保持一致,分页 URL 不再包含斜杠,这一改变对应用代码 不产生任何影响。 服务提供者 Illuminate\Foundation\Providers\ArtisanServiceProvider 从配置文件 app.php 的服务 提供者列表中移除。 Illuminate\Routing\ControllerServiceProvider 如果要开启 NFS,只需简单添加一个标识到同步文件夹配置: folders: - map: ~/Code to: /home/vagrant/Code type: "nfs" 配置 Nginx 站点 对 Nginx 不熟?没问题,通过 sites 属性你可以方便地将“域名”映射到 Homestead 虚拟 机的指定目录,Homestead.yaml0 码力 | 377 页 | 4.56 MB | 1 年前3
Laravel 5.1 中文文档的接口和应用进行交互并测试响应: public function testNewUserRegistration(){ $this->visit('/register') ->type('Taylor', 'name') ->check('terms') ->press('Register') ->seePageIs('/dashboard'); BroadcastServiceProvider 在配置文件 config/app.php 中,添加 Illuminate\Broadcasting\BroadcastServiceProvider 到 providers 数组。 认证 如果你在使用 Laravel 自带的 AuthenticatesAndRegistersUsers 的 AuthController,则需 要对新用户的验证和创建做一些代码改动: 方法现在为每个父级 Collection 中的 item 返回 Collection 实例,如果你想要将这些 items 转化为数组,可以通过 map 方法实现: $collection->groupBy('type')->map(function($item){ return $item->all(); }); lists 方法 lists 方法现在返回一个 Collection 实例而不是数组,如果你想要将0 码力 | 307 页 | 3.46 MB | 1 年前3
Laravel 5.6 中文文档htmlspecialchars 函数的默认行为保持一致。如果 你想要维持不进行双重编码的旧状,可以使用 Blade::withoutDoubleEncoding 方法: Providers; use Illuminate\Support\Facades\Blade; use Illuminate\Support\ServiceProvider; class AppServiceProvider 链接,需要在 AppServiceProvider 的 boot 方法中调 用 Paginator::useBootstrapThree 方法: Providers; use Illuminate\Pagination\Paginator; use Illuminate\Support\ServiceProvider; class AppServiceProvider app 目录下,默认情况下,该目录位于命名空间 App 下, 并且被 Composer 通过 PSR-4 自动载入标准 自动加载。 app 目录下包含多个子目录,如 Console、Http、Providers 等。Console 和 Http 目录提供了进入应用核心的 API,HTTP 协议和 CLI 是和应用 进行交互的两种机制,但实际上并不包含应用逻辑。换句话说,它们只是两个向应用发送命令的方式。Console0 码力 | 377 页 | 14.56 MB | 1 年前3
Laravel 5.3 中文文档extends Authenticatable { use Notifiable; } 注 : 不 要 忘 了 在 配 置 文 件 config/app.php 的 providers 数 组 中 注 册 服 务 提 供 者 Illuminate\Notifications\NotificationServiceProvider。 POST 到 Logout Route::auth 3 对事件广播进行了显著的优化,需要添加的新的 BroadcastServiceProvider(从 GitHub 下载文件)到 app/Providers 目录,然后将这个新的服务提供者注册到配置文件 config/app.php 的 providers 数组中。 缓存 扩展闭包绑定&$this 使用闭包调用 Cache::extend 方法时,$this 会被绑定到 CacheManager 'bindings', ], 通知(Notifications) 安装 Laravel 5.3 内置了一个新的、基于驱动的通知系统,你需要在配置文件 config/app.php 的 providers 数组中注册服务提供者 Illuminate\Notifications\NotificationServiceProvider。 你 还 需 要 在 配 置 文 件 config/app0 码力 | 691 页 | 9.37 MB | 1 年前3
Laravel 6.0 中文文档主键类型声明 影响级别:中等 Laravel 6.0 对整型键类型进行了性能优化,如果你使用了字符串作 为模型的主键,需要使用模型类的 $keyType 属性声明主键类型: /** * The "type" of the primary key ID. * 本文档由学院君提供 学院君致力于提供优质 Laravel 中文学习资源:https://xueyuanjun.com 18 * @var0 码力 | 1442 页 | 14.66 MB | 1 年前3
httpd 2.4.25 中文文档caching small data objects, based on the previous implementation of the mod_ssl session cache. Providers using a shared-memory cyclic buffer, disk-based dbm files, and a memcache distributed cache are A new program used to generate dbm files from text input, for use in RewriteMap with the dbm map type. Module Developer Changes APR 1.0 API Apache 2.2 uses the APR 1.0 API. All deprecated functions and MultiViews algorithms have been cleaned up to provide more consistent results and a new form of type map that can include document content is provided. mod_autoindex Autoindex'ed directory listings0 码力 | 2573 页 | 2.12 MB | 1 年前3
httpd 2.4.23 中文文档caching small data objects, based on the previous implementation of the mod_ssl session cache. Providers using a shared-memory cyclic buffer, disk-based dbm files, and a memcache distributed cache are A new program used to generate dbm files from text input, for use in RewriteMap with the dbm map type. Module Developer Changes APR 1.0 API Apache 2.2 uses the APR 1.0 API. All deprecated functions and MultiViews algorithms have been cleaned up to provide more consistent results and a new form of type map that can include document content is provided. mod_autoindex Autoindex'ed directory listings0 码力 | 2559 页 | 2.11 MB | 1 年前3
httpd 2.4.20 中文文档caching small data objects, based on the previous implementation of the mod_ssl session cache. Providers using a shared-memory cyclic buffer, disk-based dbm files, and a memcache distributed cache are A new program used to generate dbm files from text input, for use in RewriteMap with the dbm map type. Module Developer Changes APR 1.0 API Apache 2.2 uses the APR 1.0 API. All deprecated functions and MultiViews algorithms have been cleaned up to provide more consistent results and a new form of type map that can include document content is provided. mod_autoindex Autoindex'ed directory listings0 码力 | 2533 页 | 2.09 MB | 1 年前3
httpd 2.4.18 中文文档caching small data objects, based on the previous implementation of the mod_ssl session cache. Providers using a shared-memory cyclic buffer, disk-based dbm files, and a memcache distributed cache are A new program used to generate dbm files from text input, for use in RewriteMap with the dbm map type. Module Developer Changes APR 1.0 API Apache 2.2 uses the APR 1.0 API. All deprecated functions and MultiViews algorithms have been cleaned up to provide more consistent results and a new form of type map that can include document content is provided. mod_autoindex Autoindex'ed directory listings0 码力 | 2467 页 | 1.89 MB | 1 年前3
共 659 条
- 1
- 2
- 3
- 4
- 5
- 6
- 66













