protected function prepareHeader(array $data)
    {
        return array_merge_recursive(
            [
                'date' => $this->translate('general.date'),
                'all'  => $this->translate('general.all'),
            ],
            $this->levels->names($this->locale)
        );
    }
protected function prepareHeader(array $data)
    {
        return array_merge_recursive(
            [
                'date' => $this->translate('general.date'),
                'all'  => $this->translate('general.all'),
            ],
            $this->levels->names($this->locale)
        );
    }
protected function prepareHeader ( array $ data ) { return array_merge_recursive ( [ 'date' => $ this -> translate ( 'general.date' ) , 'all' => $ this -> translate ( 'general.all' ) , ] , $ this -> levels -> names ( $ this -> locale ) ) ; }
Prepare table header.

@param  array  $data

@return array
Prepare table header .