/** * Returns the values from a single column of the array, identified by the column_key. * Optionally, you may provide an index_key to index the values in the returned array by the values from the * index_key column in the input array. * @param string $columnKey * @param string|null $indexKey * @return Variables */ public function column($columnKey, $indexKey = null) { $value = array_column($this->value(), $columnKey, $indexKey); return Variables::from($value); }