File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -303,14 +303,14 @@ public function display(Closure $callback)
303
303
}
304
304
305
305
/**
306
- * Set value mapping .
306
+ * Display column using array value map .
307
307
*
308
308
* @param array $values
309
309
* @param null $default
310
310
*
311
311
* @return $this
312
312
*/
313
- public function values (array $ values , $ default = null )
313
+ public function using (array $ values , $ default = null )
314
314
{
315
315
return $ this ->display (function ($ value ) use ($ values , $ default ) {
316
316
return array_get ($ values , $ value , $ default );
Original file line number Diff line number Diff line change @@ -134,14 +134,14 @@ public function as(callable $callable)
134
134
}
135
135
136
136
/**
137
- * Set value mapping .
137
+ * Display field using array value map .
138
138
*
139
139
* @param array $values
140
140
* @param null $default
141
141
*
142
142
* @return $this
143
143
*/
144
- public function values (array $ values , $ default = null )
144
+ public function using (array $ values , $ default = null )
145
145
{
146
146
return $ this ->as (function ($ value ) use ($ values , $ default ) {
147
147
return array_get ($ values , $ value , $ default );
You can’t perform that action at this time.
0 commit comments