/** * {@inheritdoc} * * @param bool|string $implode Implode header lines, false to return header as array. */ public function fetch(array $keys, $fill = false, $filler = null, $implode = ',') { $keys = array_map([$this, 'normalize'], $keys); $values = parent::fetch($keys, $fill, $filler); if (!empty($implode)) { foreach ($values as &$value) { $value = implode($implode, $value); unset($value); } } return $values; }
/** * {@inheritdoc} */ public function fetch(array $keys, $fill = false, $filler = null) { $keys = array_map([$this, 'normalize'], $keys); return parent::fetch($keys, $fill, $filler); }