服务器: 'memcached' => [ [ 'host' => '127.0.0.1', 'port' => 11211, '
weight' => 100 ], ], 你还可以设置 host 选项为 UNIX socket 路径,如果你这样做,port 选项应该置为 0: 'memcached' => [ [ 'host' => '/var/run/memcached/memcached.sock', 'port' => 0, '
weight' => 100 ], ], Redis 使用 Laravel 的 Redis 缓存之前,你需要通过 Composer 安装 predis/predis 包(~1.0)。 想要了解更多关于 pet 对象(该对象包含 name 和 age 属性)的 JSON 数据。如果 JSON 响应中包含其它额外键 seeJsonStructure 也不会失败,例如,如果 pet 对 象包含
weight 属性测试仍将通过。 你可以使用*来断言返回 JSON 结构包含一个列表,该列表中的每个数据项都包含至少如下示例中 列出的属性:
0 码力 |
691 页 |
9.37 MB
| 1 年前 3
协议: 'memcached' => [ [ 'host' => '127.0.0.1', 'port' => 11211, 'weight' => 100 ], ], 你还可以设置 host 选项为 UNIX socket 路径,如果你这样做,port 选项应该置为 0: 'memcached' => [ [ 'host' => '/var/run/memcached/memcached.sock', 'port' => 0, 'weight' => 100 ], ], 1.1.3 Redis 使用 Laravel 的 Redis 缓存之前,你需要通过 Composer 安装 predis/predis 包(~1.0)。
0 码力 |
307 页 |
3.46 MB
| 1 年前 3
function will determine the name of the hashed file that should be included. Don't you feel the weight lifting off your shoulders already? elixir(function(mix) { mix.copy('vendor/foo/bar.css', 'public/css/bar
0 码力 |
242 页 |
1.44 MB
| 1 年前 3
服务器: 'memcached' => [ [ 'host' => '127.0.0.1', 'port' => 11211, 'weight' => 100 ], ], 你还可以设置 host 选项为 UNIX socket 路径,如果你这样做,port 选项应该置为 0: 'memcached' => [ [ 'host' => '/var/run/memcached/memcached.sock', 'port' => 0, 'weight' => 100 本文档由 Laravel 学院提供 Laravel 学院致力于提供优质 Laravel 中文学习资源:http://laravelacademy.org 238
0 码力 |
377 页 |
14.56 MB
| 1 年前 3
'port' => 11211, 'weight' => 100 ], ], 你还可以设置 host 选项为 UNIX socket 路径,如果你这样做, port 选项应该置为 0: 'memcached' => [ [ 'host' => '/var/run/memcached/memcached.sock', 'port' => 0, 'weight' => 100 ], 本文档由学院君提供
0 码力 |
1442 页 |
14.66 MB
| 1 年前 3