src/DataTables/AbstractDataTable.php
protected function filename(): string
    {
        $model = $this->model ?? trim(str_replace('DataTable', '', mb_strrchr(static::class, '\\')), " \t\n\r\0\x0B\\");

        $resource = str_plural(mb_strtolower(array_last(explode(class_exists($model) ? '\\' : '.', $model))));

        return $resource.'-export-'.date('Y-m-d').'-'.time();
    }
protected function filename(): string
    {
        $model = $this->model ?? trim(str_replace('DataTable', '', mb_strrchr(static::class, '\\')), " \t\n\r\0\x0B\\");

        $resource = str_plural(mb_strtolower(array_last(explode(class_exists($model) ? '\\' : '.', $model))));

        return $resource.'-export-'.date('Y-m-d').'-'.time();
    }
protected function filename ( ) : string { $ model = $ this -> model ?? trim ( str_replace ( 'DataTable' , '' , mb_strrchr ( static :: class , '\\' ) ) , " \t\n\r\0\x0B\\" ) ; $ resource = str_plural ( mb_strtolower ( array_last ( explode ( class_exists ( $ model ) ? '\\' : '.' , $ model ) ) ) ) ; return $ resource . '-export-' . date ( 'Y-m-d' ) . '-' . time ( ) ; }
Get filename for export.

@return string
Get filename for export .