File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 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)
303303 }
304304
305305 /**
306- * Set value mapping .
306+ * Display column using array value map .
307307 *
308308 * @param array $values
309309 * @param null $default
310310 *
311311 * @return $this
312312 */
313- public function values (array $ values , $ default = null )
313+ public function using (array $ values , $ default = null )
314314 {
315315 return $ this ->display (function ($ value ) use ($ values , $ default ) {
316316 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)
134134 }
135135
136136 /**
137- * Set value mapping .
137+ * Display field using array value map .
138138 *
139139 * @param array $values
140140 * @param null $default
141141 *
142142 * @return $this
143143 */
144- public function values (array $ values , $ default = null )
144+ public function using (array $ values , $ default = null )
145145 {
146146 return $ this ->as (function ($ value ) use ($ values , $ default ) {
147147 return array_get ($ values , $ value , $ default );
You can’t perform that action at this time.
0 commit comments