original_string: public function all()
      {
          $calendars = PublicCalendar::get();
          $events = new ArrayList();
          foreach ($calendars as $cal) {
              $events->merge($cal->Events());
          }
  
  
          $eventsArr = $events->toNestedArray();
  
          //Debug::dump($eventsArr);
          //return false;
  
          $ics = new ICSExport($eventsArr);
          return $this->output($ics, 'all');
      }
code: public function all()
      {
          $calendars = PublicCalendar::get();
          $events = new ArrayList();
          foreach ($calendars as $cal) {
              $events->merge($cal->Events());
          }
  
  
          $eventsArr = $events->toNestedArray();
  
          //Debug::dump($eventsArr);
          //return false;
  
          $ics = new ICSExport($eventsArr);
          return $this->output($ics, 'all');
      }
code_tokens: public function all ( ) { $ calendars = PublicCalendar :: get ( ) ; $ events = new ArrayList ( ) ; foreach ( $ calendars as $ cal ) { $ events -> merge ( $ cal -> Events ( ) ) ; } $ eventsArr = $ events -> toNestedArray ( ) ; //Debug::dump($eventsArr); //return false; $ ics = new ICSExport ( $ eventsArr ) ; return $ this -> output ( $ ics , 'all' ) ; }
docstring: All public calendars
docstring_tokens: All public calendars