Example #1
0
 /**
  * Get and remove 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);
 }