protected function gEvents() { $collection = $this->newCollection(); foreach ($this->properties['events']['events'] as $event) { $hash = (string) $event['eventHash']; $event = new Advisors\Event($event); if ($event->isActive()) { $collection->put($hash, $event); } } return $collection; }