yangrz 1年前

修改理由:

原来的 today 函数表述错误

相关信息:


此投稿由 chowjiawei 1年前 合并。

标题修改:

+ 辅助函数

内容修改:

红色背景 为原始内容

绿色背景 为新增或者修改的内容

OldNewDifferences
41574157<a name="method-today"></a>
41584158#### `today()` {.collection-method}
41594159
4160 如果给定的布尔表达式的计算结果为 `false`,则 `throw_unless` 函数会抛出给定的异常
 4160`today` 函数根据当前日期创建新的 `Illuminate\Support\Carbon` 实例
41614161
41624162   $today = today();
41634163