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

@param array $data

@return array
Prepare table header .