caldavBackend = $caldavBackend; $this->l10n = $l10n; $this->config = $config; $this->logger = $logger; } /** * @inheritdoc */ public function getName() { return 'public-calendars'; } /** * @inheritdoc */ public function getChild($name) { $calendar = $this->caldavBackend->getPublicCalendar($name); return new PublicCalendar($this->caldavBackend, $calendar, $this->l10n, $this->config, $this->logger); } /** * @inheritdoc */ public function getChildren() { return []; } }