예제 #1
0
 /**
  * Pulls an item from the collection.
  *
  * @param  mixed  $key
  * @param  mixed  $default
  * @return mixed
  */
 public function pull($key, $default = null)
 {
     return Arr::pull($this->items, $key, $default);
 }
예제 #2
0
파일: helpers.php 프로젝트: 453111208/bbc
 function array_column($array, $key)
 {
     return Arr::pluck($array, $key);
 }