/** * Get an array with the values of a given key. * * @param string $value * @param string $key * * @return static */ public function pluck($value, $key = NULL) { return new static(Lib::array_get($this->items, $value, $key)); }