/** * Fetch a nested element of the collection. * * @param string $key * * @return static * * @deprecated since version 5.1. Use pluck instead. */ public function fetch($key) { return new static(Arr::fetch($this->items, $key)); }