public function __construct(SiteModel $site = null, $timeZone = null, $title = null)
 {
     parent::__construct($site, $timeZone, $title);
     $this->historyRepositoryBuilder = new HistoryRepositoryBuilder();
     if ($site) {
         $this->historyRepositoryBuilder->setSite($site);
     }
 }
 public function __construct(SiteModel $site = null, $timeZone = null, $title = null)
 {
     parent::__construct($site, $timeZone, $title);
     global $CONFIG;
     $this->eventRepositoryBuilder = new EventRepositoryBuilder();
     $this->eventRepositoryBuilder->setLimit($CONFIG->api1EventListLimit);
     $this->eventRepositoryBuilder->setIncludeCountryInformation(true);
     $this->eventRepositoryBuilder->setIncludeAreaInformation(true);
     $this->eventRepositoryBuilder->setIncludeVenueInformation(true);
     if ($site) {
         $this->eventRepositoryBuilder->setSite($site);
     }
 }