public function menu($trans = true)
    {
        $menu = [];

        foreach ($this->items as $date => $log) {
            /** @var \Arcanedev\LogViewer\Entities\Log $log */
            $menu[$date] = $log->menu($trans);
        }

        return $menu;
    }
public function menu($trans = true)
    {
        $menu = [];

        foreach ($this->items as $date => $log) {
            /** @var \Arcanedev\LogViewer\Entities\Log $log */
            $menu[$date] = $log->menu($trans);
        }

        return $menu;
    }
public function menu ( $ trans = true ) { $ menu = [ ] ; foreach ( $ this -> items as $ date => $ log ) { /** @var \Arcanedev\LogViewer\Entities\Log $log */ $ menu [ $ date ] = $ log -> menu ( $ trans ) ; } return $ menu ; }
Get logs menu.

@param  bool  $trans

@return array
Get logs menu .