make() public static method

Make a stats table instance.
public static make ( array $data, Arcanedev\LogViewer\Contracts\Utilities\LogLevels $levels, string | null $locale = null ) : StatsTable
$data array
$levels Arcanedev\LogViewer\Contracts\Utilities\LogLevels
$locale string | null
return StatsTable
Exemplo n.º 1
0
 /**
  * Get logs statistics table.
  *
  * @param  string|null  $locale
  *
  * @return \Arcanedev\LogViewer\Tables\StatsTable
  */
 public function statsTable($locale = null)
 {
     return StatsTable::make($this->stats(), $this->levels, $locale);
 }