Esempio n. 1
0
 /**
  * Removes a value from array.
  *
  * @param  string $key
  * @param  mixed  $value
  * @return self
  */
 public function pull($key, $value)
 {
     $values = $this->get($key);
     Arr::pull($values, $value);
     return $this->set($key, $values);
 }